diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-09-26 22:23:36 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-09-26 22:23:36 +0200 |
commit | af997a09ca1ff2bf3e93f9145edc50d29be28529 (patch) | |
tree | 8188753488f633407eea5aab0c9e6e0833300e43 /src/Globals.h | |
parent | Fixed players custom name in 1.8 (diff) | |
parent | Merge pull request #1455 from mc-server/includes (diff) | |
download | cuberite-af997a09ca1ff2bf3e93f9145edc50d29be28529.tar cuberite-af997a09ca1ff2bf3e93f9145edc50d29be28529.tar.gz cuberite-af997a09ca1ff2bf3e93f9145edc50d29be28529.tar.bz2 cuberite-af997a09ca1ff2bf3e93f9145edc50d29be28529.tar.lz cuberite-af997a09ca1ff2bf3e93f9145edc50d29be28529.tar.xz cuberite-af997a09ca1ff2bf3e93f9145edc50d29be28529.tar.zst cuberite-af997a09ca1ff2bf3e93f9145edc50d29be28529.zip |
Diffstat (limited to 'src/Globals.h')
-rw-r--r-- | src/Globals.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/Globals.h b/src/Globals.h index de1024010..c75c4e99b 100644 --- a/src/Globals.h +++ b/src/Globals.h @@ -261,6 +261,27 @@ void inline LOGERROR(const char* a_Format, ...) vprintf(a_Format, argList); va_end(argList); } + +void inline LOGWARNING(const char* a_Format, ...) FORMATSTRING(1, 2); + +void inline LOGWARNING(const char* a_Format, ...) +{ + va_list argList; + va_start(argList, a_Format); + vprintf(a_Format, argList); + va_end(argList); +} + +void inline LOGD(const char* a_Format, ...) FORMATSTRING(1, 2); + +void inline LOGD(const char* a_Format, ...) +{ + va_list argList; + va_start(argList, a_Format); + vprintf(a_Format, argList); + va_end(argList); +} + #endif |