Added initialization code for config log to pacify Valgrind.
This commit is contained in:
1 parent
ead4b1cd5b
commit
93532003f3
1 file changed
+3
-1
@@ -30,7 +30,9 @@ ConfigLog::ConfigLog() :
|
||||
cfg.logger_initial_queue_size = 10;
|
||||
|
||||
log::Filter f;
|
||||
|
||||
for (auto &l : f)
|
||||
l = Warn;
|
||||
|
||||
f[Cfg.ordinal] = Warn;
|
||||
cfg.sinks["console"] = std::make_pair (log::console_sink(),f);
|
||||
|
||||
|
||||
Reference in new issue
Block a user