summaryrefslogtreecommitdiffstats
path: root/source/cLog.cpp
diff options
context:
space:
mode:
authorfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-08-19 01:42:27 +0200
committerfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-08-19 01:42:27 +0200
commitcc13cbbe3d3a95735ca037f7382ffbcc90e7a80d (patch)
treead2a02af47948c0f92d381a9c9d33c7d925d5f61 /source/cLog.cpp
parentAndroid: I'm probably using a lot of bad practices, but the app looks somewhat better now and polls the server status (diff)
downloadcuberite-cc13cbbe3d3a95735ca037f7382ffbcc90e7a80d.tar
cuberite-cc13cbbe3d3a95735ca037f7382ffbcc90e7a80d.tar.gz
cuberite-cc13cbbe3d3a95735ca037f7382ffbcc90e7a80d.tar.bz2
cuberite-cc13cbbe3d3a95735ca037f7382ffbcc90e7a80d.tar.lz
cuberite-cc13cbbe3d3a95735ca037f7382ffbcc90e7a80d.tar.xz
cuberite-cc13cbbe3d3a95735ca037f7382ffbcc90e7a80d.tar.zst
cuberite-cc13cbbe3d3a95735ca037f7382ffbcc90e7a80d.zip
Diffstat (limited to '')
-rw-r--r--source/cLog.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/cLog.cpp b/source/cLog.cpp
index 57ad9b418..da95ee8cc 100644
--- a/source/cLog.cpp
+++ b/source/cLog.cpp
@@ -130,7 +130,8 @@ void cLog::Log(const char * a_Format, va_list argList)
// Print to console:
#if defined(ANDROID_NDK)
- __android_log_vprint(ANDROID_LOG_ERROR,"MCServer", a_Format, argList);
+ //__android_log_vprint(ANDROID_LOG_ERROR,"MCServer", a_Format, argList);
+ __android_log_print(ANDROID_LOG_ERROR, "MCServer", "%s", Line.c_str() );
//CallJavaFunction_Void_String(g_JavaThread, "AddToLog", Line );
#else
printf("%s", Line.c_str());