diff options
Diffstat (limited to '')
-rw-r--r-- | lib/libUPnP/Neptune/Source/System/Android/NptAndroidDebug.cpp | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/lib/libUPnP/Neptune/Source/System/Android/NptAndroidDebug.cpp b/lib/libUPnP/Neptune/Source/System/Android/NptAndroidDebug.cpp new file mode 100644 index 0000000..378ee45 --- /dev/null +++ b/lib/libUPnP/Neptune/Source/System/Android/NptAndroidDebug.cpp @@ -0,0 +1,31 @@ +/***************************************************************** +| +| File: NptStdcDebug.c +| +| Atomix - Debug Support: Android Implementation +| +| (c) 2002-2009 Gilles Boccon-Gibod +| Author: Gilles Boccon-Gibod (bok@bok.net) +| + ****************************************************************/ + +/*---------------------------------------------------------------------- +| includes ++---------------------------------------------------------------------*/ +#include <android/log.h> +#include <stdio.h> + +#include "NptConfig.h" +#include "NptDefs.h" +#include "NptTypes.h" +#include "NptDebug.h" + +/*---------------------------------------------------------------------- +| NPT_DebugOuput ++---------------------------------------------------------------------*/ +void +NPT_DebugOutput(const char* message) +{ + __android_log_write(ANDROID_LOG_DEBUG, "Neptune", message); + printf("%s", message); +} |