summaryrefslogtreecommitdiffstats
path: root/src/Common/Logger.h
diff options
context:
space:
mode:
authorJohannes Thorn <dante@g4t3.de>2008-09-17 11:23:51 +0200
committerJohannes Thorn <dante@g4t3.de>2008-09-17 11:23:51 +0200
commit88c31c67ff4ec5be12a00e41b177cea8ecd7e941 (patch)
treed7939e1fcd21047a5cb80c365e7ea2b056802cfa /src/Common/Logger.h
parent039c218a7b1f2eae4f8e8305bc8e8bf70a67beab (diff)
downloadmad-88c31c67ff4ec5be12a00e41b177cea8ecd7e941.tar
mad-88c31c67ff4ec5be12a00e41b177cea8ecd7e941.zip
(no commit message)
Diffstat (limited to 'src/Common/Logger.h')
-rw-r--r--src/Common/Logger.h32
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_ */