summaryrefslogtreecommitdiffstats
path: root/src/Common/Logger.h
blob: cbfe4dd94a981a803b3bd70830254bf840f2cc83 (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_ */