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/Bindings/ManualBindings.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 'src/Bindings/ManualBindings.cpp')
-rw-r--r-- | src/Bindings/ManualBindings.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Bindings/ManualBindings.cpp b/src/Bindings/ManualBindings.cpp index d792cd0ee..e1e6585f0 100644 --- a/src/Bindings/ManualBindings.cpp +++ b/src/Bindings/ManualBindings.cpp @@ -168,7 +168,7 @@ static AString GetLogMessage(lua_State * tolua_S) static int tolua_LOG(lua_State * tolua_S) { // If the param is a cCompositeChat, read the log level from it: - Logger::eLogLevel LogLevel = Logger::llRegular; + cLogger::eLogLevel LogLevel = cLogger::llRegular; tolua_Error err; if (tolua_isusertype(tolua_S, 1, "cCompositeChat", false, &err)) { @@ -176,7 +176,7 @@ static int tolua_LOG(lua_State * tolua_S) } // Log the message: - Logger::GetInstance().LogSimple(GetLogMessage(tolua_S).c_str(), LogLevel); + cLogger::GetInstance().LogSimple(GetLogMessage(tolua_S).c_str(), LogLevel); return 0; } @@ -186,7 +186,7 @@ static int tolua_LOG(lua_State * tolua_S) static int tolua_LOGINFO(lua_State * tolua_S) { - Logger::GetInstance().LogSimple(GetLogMessage(tolua_S).c_str(), Logger::llInfo); + cLogger::GetInstance().LogSimple(GetLogMessage(tolua_S).c_str(), cLogger::llInfo); return 0; } @@ -196,7 +196,7 @@ static int tolua_LOGINFO(lua_State * tolua_S) static int tolua_LOGWARN(lua_State * tolua_S) { - Logger::GetInstance().LogSimple(GetLogMessage(tolua_S).c_str(), Logger::llWarning); + cLogger::GetInstance().LogSimple(GetLogMessage(tolua_S).c_str(), cLogger::llWarning); return 0; } @@ -206,7 +206,7 @@ static int tolua_LOGWARN(lua_State * tolua_S) static int tolua_LOGERROR(lua_State * tolua_S) { - Logger::GetInstance().LogSimple(GetLogMessage(tolua_S).c_str(), Logger::llError); + cLogger::GetInstance().LogSimple(GetLogMessage(tolua_S).c_str(), cLogger::llError); return 0; } |