summaryrefslogtreecommitdiffstats
path: root/src/Log.h
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-03-11 21:51:56 +0100
committerTycho <work.tycho+git@gmail.com>2014-03-11 21:51:56 +0100
commita19f5fc484648d226899667410aeb82de354c714 (patch)
treebf88681c224207a25eaf7b90adcb479b05c3fff4 /src/Log.h
parentFixed format errors in protocol (diff)
downloadcuberite-a19f5fc484648d226899667410aeb82de354c714.tar
cuberite-a19f5fc484648d226899667410aeb82de354c714.tar.gz
cuberite-a19f5fc484648d226899667410aeb82de354c714.tar.bz2
cuberite-a19f5fc484648d226899667410aeb82de354c714.tar.lz
cuberite-a19f5fc484648d226899667410aeb82de354c714.tar.xz
cuberite-a19f5fc484648d226899667410aeb82de354c714.tar.zst
cuberite-a19f5fc484648d226899667410aeb82de354c714.zip
Diffstat (limited to 'src/Log.h')
-rw-r--r--src/Log.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Log.h b/src/Log.h
index cba248dae..340fa23bc 100644
--- a/src/Log.h
+++ b/src/Log.h
@@ -14,8 +14,8 @@ private:
public:
cLog(const AString & a_FileName);
~cLog();
- void Log(const char * a_Format, va_list argList);
- void Log(const char * a_Format, ...);
+ void Log(const char * a_Format, va_list argList) FORMATSTRING(2,0);
+ void Log(const char * a_Format, ...) FORMATSTRING(2,3);
// tolua_begin
void SimpleLog(const char * a_String);
void OpenLog(const char * a_FileName);