blob: 928e65c98c079315a13df4c9ec102414b995b52b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
/*
* Logger.h
*
* Created on: 10.09.2008
* Author: dante
*/
#ifndef MAD_COMMON_LOGGER_H_
#define MAD_COMMON_LOGGER_H_
#include <string>
namespace Mad {
namespace Common {
class Logger {
//TODO Enum type mit unterschiedlichen Stufen
private:
int loggingType;
public:
enum MessageType {
CRITICAL, ERROR, WARNING, DEFAULT, VERBOSE, DEBUG
};
void printMessage(MessageType typeOfMessage, std::string message);
Logger(int type);
virtual ~Logger();
};
}
}
#endif /* MAD_COMMON_LOGGER_H_ */
|