diff options
Diffstat (limited to 'lib/common/Logging.h')
-rw-r--r-- | lib/common/Logging.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/common/Logging.h b/lib/common/Logging.h index 04aed1cf..65018632 100644 --- a/lib/common/Logging.h +++ b/lib/common/Logging.h @@ -102,11 +102,19 @@ class Logger class Console : public Logger { + private: + static bool sShowTime; + static bool sShowTag; + static std::string sTag; + public: virtual bool Log(Log::Level level, const std::string& rFile, int line, std::string& rMessage); virtual const char* GetType() { return "Console"; } virtual void SetProgramName(const std::string& rProgramName) { } + + static void SetTag(const std::string& rTag); + static void SetShowTime(bool enabled); }; // -------------------------------------------------------------------------- |