mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-25 21:15:49 +00:00
Command line option to not log to console after startup
This commit is contained in:
committed by
Nik Bougalis
parent
d17c8e235f
commit
f26835e507
@@ -176,7 +176,8 @@ Logs::write (beast::Journal::Severity level, std::string const& partition,
|
||||
format (s, text, level, partition);
|
||||
std::lock_guard <std::mutex> lock (mutex_);
|
||||
file_.writeln (s);
|
||||
std::cerr << s << '\n';
|
||||
if (! silent_)
|
||||
std::cerr << s << '\n';
|
||||
// VFALCO TODO Fix console output
|
||||
//if (console)
|
||||
// out_.write_console(s);
|
||||
|
||||
Reference in New Issue
Block a user