summaryrefslogtreecommitdiffstats
path: root/src/Bindings/ManualBindings.cpp
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-08-12 17:05:04 +0200
committerTycho <work.tycho+git@gmail.com>2014-08-12 17:05:04 +0200
commit98443682671d0c39b19f86098f7bc900b7529b72 (patch)
treed76a93bd70740b6c718c98a47b1159eb6df2315e /src/Bindings/ManualBindings.cpp
parentFixed Tools to work with new logging framework (diff)
downloadcuberite-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/Bindings/ManualBindings.cpp10
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;
}