summaryrefslogtreecommitdiffstats
path: root/source/cMCLogger.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-03-25 15:29:07 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-03-25 15:29:07 +0200
commit534e22131667759be0cc610d52438a3a79dfe65a (patch)
tree3d69956c29a52dbb3c8bcb01ee9566458d3f4841 /source/cMCLogger.cpp
parentAdded the new 1.2.4's PlayerAbilities packet; restructures packet files for less files, more dense. (diff)
downloadcuberite-534e22131667759be0cc610d52438a3a79dfe65a.tar
cuberite-534e22131667759be0cc610d52438a3a79dfe65a.tar.gz
cuberite-534e22131667759be0cc610d52438a3a79dfe65a.tar.bz2
cuberite-534e22131667759be0cc610d52438a3a79dfe65a.tar.lz
cuberite-534e22131667759be0cc610d52438a3a79dfe65a.tar.xz
cuberite-534e22131667759be0cc610d52438a3a79dfe65a.tar.zst
cuberite-534e22131667759be0cc610d52438a3a79dfe65a.zip
Diffstat (limited to 'source/cMCLogger.cpp')
-rw-r--r--source/cMCLogger.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/cMCLogger.cpp b/source/cMCLogger.cpp
index e966e7788..0869daa53 100644
--- a/source/cMCLogger.cpp
+++ b/source/cMCLogger.cpp
@@ -59,19 +59,19 @@ void cMCLogger::LogSimple(const char* a_Text, int a_LogType /* = 0 */ )
switch( a_LogType )
{
case 0:
- Log(a_Text, 0);
+ LOG("%s", a_Text);
break;
case 1:
- Info(a_Text, 0);
+ LOGINFO("%s", a_Text);
break;
case 2:
- Warn(a_Text, 0);
+ LOGWARN("%s", a_Text);
break;
case 3:
- Error(a_Text, 0);
+ LOGERROR("%s", a_Text);
break;
default:
- Log(a_Text, 0);
+ LOG("(#%d#: %s", a_LogType, a_Text);
break;
}
}