diff options
author | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-08-15 23:24:11 +0200 |
---|---|---|
committer | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-08-15 23:24:11 +0200 |
commit | d21e4dacf7341b924fa534523ba31348ff6789ad (patch) | |
tree | 95a8b355c471cd2ab39e58f3d80b63d64ab8510a /source/cLog.cpp | |
parent | Added temporary debug statistics of the RelEntMoveLook packet removal efficiency (diff) | |
download | cuberite-d21e4dacf7341b924fa534523ba31348ff6789ad.tar cuberite-d21e4dacf7341b924fa534523ba31348ff6789ad.tar.gz cuberite-d21e4dacf7341b924fa534523ba31348ff6789ad.tar.bz2 cuberite-d21e4dacf7341b924fa534523ba31348ff6789ad.tar.lz cuberite-d21e4dacf7341b924fa534523ba31348ff6789ad.tar.xz cuberite-d21e4dacf7341b924fa534523ba31348ff6789ad.tar.zst cuberite-d21e4dacf7341b924fa534523ba31348ff6789ad.zip |
Diffstat (limited to '')
-rw-r--r-- | source/cLog.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/cLog.cpp b/source/cLog.cpp index 5e79b48bf..372616be8 100644 --- a/source/cLog.cpp +++ b/source/cLog.cpp @@ -9,6 +9,9 @@ #include "cIsThread.h" +#if defined(ANDROID_NDK) +#include <android/log.h> +#endif @@ -97,6 +100,10 @@ void cLog::ClearLog() void cLog::Log(const char * a_Format, va_list argList) { +#if defined(ANDROID_NDK) + __android_log_vprint(ANDROID_LOG_ERROR,"MCServer", a_Format, argList); + return; // This is as far as android goes +#endif AString Message; AppendVPrintf(Message, a_Format, argList); |