summaryrefslogtreecommitdiffstats
path: root/src/Log.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-01-29 20:22:03 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-01-29 20:22:03 +0100
commit7d03876a3e11aedff0201a8330bfdb2b5523fc5e (patch)
tree04f795a2ff37644aa47c0b0d86f648eec949fba3 /src/Log.h
parentFixed redstone simulator crash found in #570 (diff)
downloadcuberite-7d03876a3e11aedff0201a8330bfdb2b5523fc5e.tar
cuberite-7d03876a3e11aedff0201a8330bfdb2b5523fc5e.tar.gz
cuberite-7d03876a3e11aedff0201a8330bfdb2b5523fc5e.tar.bz2
cuberite-7d03876a3e11aedff0201a8330bfdb2b5523fc5e.tar.lz
cuberite-7d03876a3e11aedff0201a8330bfdb2b5523fc5e.tar.xz
cuberite-7d03876a3e11aedff0201a8330bfdb2b5523fc5e.tar.zst
cuberite-7d03876a3e11aedff0201a8330bfdb2b5523fc5e.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..c8c26913b 100644
--- a/src/Log.h
+++ b/src/Log.h
@@ -10,11 +10,11 @@ class cLog
private:
FILE * m_File;
static cLog * s_Log;
-
+ size_t m_LastStringSize = 0;
public:
cLog(const AString & a_FileName);
~cLog();
- void Log(const char * a_Format, va_list argList);
+ void Log(const char * a_Format, va_list argList, bool a_ReplaceCurrentLine = false);
void Log(const char * a_Format, ...);
// tolua_begin
void SimpleLog(const char * a_String);