diff options
Diffstat (limited to 'src/LogFactory.h')
| -rw-r--r-- | src/LogFactory.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/LogFactory.h b/src/LogFactory.h index 4c977561..662cc583 100644 --- a/src/LogFactory.h +++ b/src/LogFactory.h @@ -51,6 +51,7 @@ private: static bool consoleOutput_; static Logger::LEVEL logLevel_; static Logger::LEVEL consoleLogLevel_; + static bool colorOutput_; static void openLogger(const std::shared_ptr<Logger>& logger); @@ -102,6 +103,12 @@ public: static void setConsoleLogLevel(const std::string& level); /** + * Enable color output if |enabled| is true. By default, color + * output is enabled for terminal. + */ + static void setColorOutput(bool enabled); + + /** * Releases used resources */ static void release(); |
