summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBeat Forster <bfo@synthesis.ch>2010-03-22 11:41:50 +0100
committerLukas Zeller <luz@synthesis.ch>2010-04-30 17:57:28 +0200
commit99cfe50a713965714feb29711e6ecb7404aef9fe (patch)
treef85f0c79d31d58f77f2cdc488ce3b1f385083516
parent5ebe8e989541a3689763861ebeea2f51c21834a3 (diff)
Android: Display config errors
-rwxr-xr-xsrc/sysync/syncappbase.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sysync/syncappbase.cpp b/src/sysync/syncappbase.cpp
index bf8255d..532bb9a 100755
--- a/src/sysync/syncappbase.cpp
+++ b/src/sysync/syncappbase.cpp
@@ -1466,7 +1466,11 @@ void TSyncAppBase::ConferrPuts(const char *msg)
// a config error path is defined
if (strucmp(filename.c_str(),"console")==0) {
// put message directly to what is supposed to be the console
+ #ifdef ANDROID
+ __android_log_write( ANDROID_LOG_DEBUG, "ConferrPuts", msg );
+ #else
AppConsolePuts(msg);
+ #endif
return; // done
}
#else // ENGINE_LIBRARY