diff options
Diffstat (limited to 'src/Common/Logger.h')
-rw-r--r-- | src/Common/Logger.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/Common/Logger.h b/src/Common/Logger.h new file mode 100644 index 0000000..cbfe4dd --- /dev/null +++ b/src/Common/Logger.h @@ -0,0 +1,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_ */ |