summaryrefslogtreecommitdiffstats
path: root/src/Core/LogManager.cpp
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2009-09-27 19:58:24 +0200
committerMatthias Schiffer <matthias@gamezock.de>2009-09-27 19:58:24 +0200
commitb40ba0cf91603b695f1f2380cbd39966a458f22f (patch)
tree1fec48ddc59eb1392fac38495b230e4b2cbf7528 /src/Core/LogManager.cpp
parente1d8490f0654a3da0b900407d80d91d8d0da68c8 (diff)
downloadmad-b40ba0cf91603b695f1f2380cbd39966a458f22f.tar
mad-b40ba0cf91603b695f1f2380cbd39966a458f22f.zip
Use Unicode-aware String class instead of std::string
Diffstat (limited to 'src/Core/LogManager.cpp')
-rw-r--r--src/Core/LogManager.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/Core/LogManager.cpp b/src/Core/LogManager.cpp
index 4a4cc0d..c2a90de 100644
--- a/src/Core/LogManager.cpp
+++ b/src/Core/LogManager.cpp
@@ -42,13 +42,13 @@ void LogManager::ConsoleLogger::logMessageDirect(MessageCategory /*category*/, M
}
-LogManager::MessageLevel LogManager::parseLevel(const UnicodeString &str) throw (Exception) {
- static const UnicodeString DEBUG_LEVEL("debug");
- static const UnicodeString VERBOSE_LEVEL("verbose");
- static const UnicodeString DEFAULT_LEVEL("default");
- static const UnicodeString WARNING_LEVEL("warning");
- static const UnicodeString ERROR_LEVEL("error");
- static const UnicodeString CRITICAL_LEVEL("critical");
+LogManager::MessageLevel LogManager::parseLevel(const String &str) throw (Exception) {
+ static const String DEBUG_LEVEL("debug");
+ static const String VERBOSE_LEVEL("verbose");
+ static const String DEFAULT_LEVEL("default");
+ static const String WARNING_LEVEL("warning");
+ static const String ERROR_LEVEL("error");
+ static const String CRITICAL_LEVEL("critical");
if(str.isEmpty())
return Logger::LOG_DEFAULT;