diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-02-02 21:10:31 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-02-02 21:10:31 +0100 |
commit | d9a9052de733d88e49a2df9f455632c64f2c5b5d (patch) | |
tree | 1bf9c5a67322e34a5ff32f4586010d453a1f1c4c /src/MCLogger.h | |
parent | Revert "Improved code" (diff) | |
download | cuberite-d9a9052de733d88e49a2df9f455632c64f2c5b5d.tar cuberite-d9a9052de733d88e49a2df9f455632c64f2c5b5d.tar.gz cuberite-d9a9052de733d88e49a2df9f455632c64f2c5b5d.tar.bz2 cuberite-d9a9052de733d88e49a2df9f455632c64f2c5b5d.tar.lz cuberite-d9a9052de733d88e49a2df9f455632c64f2c5b5d.tar.xz cuberite-d9a9052de733d88e49a2df9f455632c64f2c5b5d.tar.zst cuberite-d9a9052de733d88e49a2df9f455632c64f2c5b5d.zip |
Diffstat (limited to '')
-rw-r--r-- | src/MCLogger.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/MCLogger.h b/src/MCLogger.h index 7bcc195dd..c949a4cdf 100644 --- a/src/MCLogger.h +++ b/src/MCLogger.h @@ -21,7 +21,7 @@ public: // tolua_export ~cMCLogger(); // tolua_export - void Log(const char* a_Format, va_list a_ArgList, bool a_ShouldReplaceLine = false); + void Log(const char* a_Format, va_list a_ArgList); void Info(const char* a_Format, va_list a_ArgList); void Warn(const char* a_Format, va_list a_ArgList); void Error(const char* a_Format, va_list a_ArgList); @@ -51,17 +51,12 @@ private: /// Common initialization for all constructors, creates a logfile with the specified name and assigns s_MCLogger to this void InitLog(const AString & a_FileName); - - /** Flag to show whether a 'replace line' log command has been issued - Used to decide when to put a newline */ - bool m_BeginLineUpdate = false; }; // tolua_export -extern void LOGREPLACELINE(const char* a_Format, ...); extern void LOG(const char* a_Format, ...); extern void LOGINFO(const char* a_Format, ...); extern void LOGWARN(const char* a_Format, ...); |