add a command line to enable/disable the color format in the fairmq log console output

This commit is contained in:
NicolasWinckler
2015-11-20 15:25:34 +01:00
parent 10d6482716
commit 35c64c67a2
5 changed files with 16 additions and 3 deletions

View File

@@ -88,6 +88,7 @@ inline std::string write_in(const std::string& text_in_bold)
typedef fairmq::severity_level custom_severity_level;
#define SEVERITY_THRESHOLD custom_severity_level::TRACE
#define SEVERITY_ERROR custom_severity_level::ERROR
#define SEVERITY_NOLOG custom_severity_level::NOLOG
// tags used for log console or file formatting
struct tag_console;