mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-18 04:53:06 +01:00
Android: Added preprocessor configurable log tag for debug ouput.
This commit is contained in:
@@ -51,7 +51,10 @@ namespace bx
|
||||
inline void debugOutput(const char* _out)
|
||||
{
|
||||
#if BX_PLATFORM_ANDROID
|
||||
__android_log_write(ANDROID_LOG_DEBUG, "", _out);
|
||||
# ifndef BX_ANDROID_LOG_TAGS
|
||||
# define BX_ANDROID_LOG_TAGS ""
|
||||
# endif // BX_ANDROID_LOG_TAGS
|
||||
__android_log_write(ANDROID_LOG_DEBUG, BX_ANDROID_LOG_TAG, _out);
|
||||
#elif BX_PLATFORM_WINDOWS || BX_PLATFORM_WINRT || BX_PLATFORM_XBOX360
|
||||
OutputDebugStringA(_out);
|
||||
#elif BX_PLATFORM_IOS || BX_PLATFORM_OSX
|
||||
|
||||
Reference in New Issue
Block a user