diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2009-09-27 01:55:44 +0200 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2009-09-27 01:55:44 +0200 |
commit | e1d8490f0654a3da0b900407d80d91d8d0da68c8 (patch) | |
tree | d65b4bd4a596a98061e094120b6a1aed388d1c89 /src/Core/LogManager.h | |
parent | d88c486ae403bee8f4b16e4bdf9daf19f8915eed (diff) | |
download | mad-e1d8490f0654a3da0b900407d80d91d8d0da68c8.tar mad-e1d8490f0654a3da0b900407d80d91d8d0da68c8.zip |
Use libicu to support unicode properly; migrated ConfigManager to UnicodeString
Diffstat (limited to 'src/Core/LogManager.h')
-rw-r--r-- | src/Core/LogManager.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Core/LogManager.h b/src/Core/LogManager.h index c569238..9b47a7e 100644 --- a/src/Core/LogManager.h +++ b/src/Core/LogManager.h @@ -25,6 +25,7 @@ #include "Configurable.h" #include "Exception.h" #include "Logger.h" +#include "UnicodeString.h" #include <queue> #include <set> @@ -99,7 +100,7 @@ class MAD_CORE_EXPORT LogManager : public Configurable { virtual void configFinished(); public: - static MessageLevel parseLevel(const std::string &str) throw (Exception); + static MessageLevel parseLevel(const UnicodeString &str) throw (Exception); void log(MessageCategory category, MessageLevel level, boost::posix_time::ptime timestamp, const std::string &message, const std::string &source = std::string()); |