Output info messages to stderr with --debug.
This commit is contained in:
parent
28c0a5a797
commit
580f08b823
|
@ -86,8 +86,8 @@ void enable_debug()
|
|||
global.textlog->set_filter(blog::trivial::severity >= sev::debug);
|
||||
|
||||
blog::add_console_log(std::cerr,
|
||||
keywords::format = "%LineID% DEBUG: %Message%")
|
||||
->set_filter(blog::trivial::severity == sev::debug);
|
||||
keywords::format = "[%Severity%] %Message%")
|
||||
->set_filter(blog::trivial::severity <= sev::info);
|
||||
|
||||
LOG(sev::info) << "Debug logging enabled.";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user