diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-08-12 17:05:04 +0200 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-08-12 17:05:04 +0200 |
commit | 98443682671d0c39b19f86098f7bc900b7529b72 (patch) | |
tree | d76a93bd70740b6c718c98a47b1159eb6df2315e /src/CompositeChat.cpp | |
parent | Fixed Tools to work with new logging framework (diff) | |
download | cuberite-98443682671d0c39b19f86098f7bc900b7529b72.tar cuberite-98443682671d0c39b19f86098f7bc900b7529b72.tar.gz cuberite-98443682671d0c39b19f86098f7bc900b7529b72.tar.bz2 cuberite-98443682671d0c39b19f86098f7bc900b7529b72.tar.lz cuberite-98443682671d0c39b19f86098f7bc900b7529b72.tar.xz cuberite-98443682671d0c39b19f86098f7bc900b7529b72.tar.zst cuberite-98443682671d0c39b19f86098f7bc900b7529b72.zip |
Diffstat (limited to '')
-rw-r--r-- | src/CompositeChat.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/CompositeChat.cpp b/src/CompositeChat.cpp index b702447be..0d339021e 100644 --- a/src/CompositeChat.cpp +++ b/src/CompositeChat.cpp @@ -353,23 +353,23 @@ AString cCompositeChat::ExtractText(void) const -Logger::eLogLevel cCompositeChat::MessageTypeToLogLevel(eMessageType a_MessageType) +cLogger::eLogLevel cCompositeChat::MessageTypeToLogLevel(eMessageType a_MessageType) { switch (a_MessageType) { - case mtCustom: return Logger::llRegular; - case mtFailure: return Logger::llWarning; - case mtInformation: return Logger::llInfo; - case mtSuccess: return Logger::llRegular; - case mtWarning: return Logger::llWarning; - case mtFatal: return Logger::llError; - case mtDeath: return Logger::llRegular; - case mtPrivateMessage: return Logger::llRegular; - case mtJoin: return Logger::llRegular; - case mtLeave: return Logger::llRegular; + case mtCustom: return cLogger::llRegular; + case mtFailure: return cLogger::llWarning; + case mtInformation: return cLogger::llInfo; + case mtSuccess: return cLogger::llRegular; + case mtWarning: return cLogger::llWarning; + case mtFatal: return cLogger::llError; + case mtDeath: return cLogger::llRegular; + case mtPrivateMessage: return cLogger::llRegular; + case mtJoin: return cLogger::llRegular; + case mtLeave: return cLogger::llRegular; } ASSERT(!"Unhandled MessageType"); - return Logger::llError; + return cLogger::llError; } |