diff options
author | Mattes D <github@xoft.cz> | 2015-01-11 10:34:50 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-01-22 20:12:43 +0100 |
commit | bef957ef14fa6b215bd9d649c119a6cb16221248 (patch) | |
tree | 14e67b3c8d20957345663577201d50dc162421ec /src | |
parent | Extracted Google connection test (diff) | |
download | cuberite-bef957ef14fa6b215bd9d649c119a6cb16221248.tar cuberite-bef957ef14fa6b215bd9d649c119a6cb16221248.tar.gz cuberite-bef957ef14fa6b215bd9d649c119a6cb16221248.tar.bz2 cuberite-bef957ef14fa6b215bd9d649c119a6cb16221248.tar.lz cuberite-bef957ef14fa6b215bd9d649c119a6cb16221248.tar.xz cuberite-bef957ef14fa6b215bd9d649c119a6cb16221248.tar.zst cuberite-bef957ef14fa6b215bd9d649c119a6cb16221248.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Globals.h | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/src/Globals.h b/src/Globals.h index 51ddc4e79..654ede95f 100644 --- a/src/Globals.h +++ b/src/Globals.h @@ -268,43 +268,47 @@ template class SizeChecker<UInt16, 2>; #include "OSSupport/StackTrace.h" #else // Logging functions -void inline LOGERROR(const char* a_Format, ...) FORMATSTRING(1, 2); +void inline LOGERROR(const char * a_Format, ...) FORMATSTRING(1, 2); -void inline LOGERROR(const char* a_Format, ...) +void inline LOGERROR(const char * a_Format, ...) { va_list argList; va_start(argList, a_Format); vprintf(a_Format, argList); + putchar('\n'); va_end(argList); } -void inline LOGWARNING(const char* a_Format, ...) FORMATSTRING(1, 2); +void inline LOGWARNING(const char * a_Format, ...) FORMATSTRING(1, 2); -void inline LOGWARNING(const char* a_Format, ...) +void inline LOGWARNING(const char * a_Format, ...) { va_list argList; va_start(argList, a_Format); vprintf(a_Format, argList); + putchar('\n'); va_end(argList); } -void inline LOGD(const char* a_Format, ...) FORMATSTRING(1, 2); +void inline LOGD(const char * a_Format, ...) FORMATSTRING(1, 2); -void inline LOGD(const char* a_Format, ...) +void inline LOGD(const char * a_Format, ...) { va_list argList; va_start(argList, a_Format); vprintf(a_Format, argList); + putchar('\n'); va_end(argList); } -void inline LOG(const char* a_Format, ...) FORMATSTRING(1, 2); +void inline LOG(const char * a_Format, ...) FORMATSTRING(1, 2); -void inline LOG(const char* a_Format, ...) +void inline LOG(const char * a_Format, ...) { va_list argList; va_start(argList, a_Format); vprintf(a_Format, argList); + putchar('\n'); va_end(argList); } |