mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
easylogging++: default to creating categories by default
This avoids error spews from easylogging++ when we try to log something before easylogging is initialized, which can happen when errors happen at command line parsing time
This commit is contained in:
parent
9ed496bbc5
commit
5d86c9f4d5
1 changed files with 1 additions and 0 deletions
1
external/easylogging++/easylogging++.cc
vendored
1
external/easylogging++/easylogging++.cc
vendored
|
@ -2095,6 +2095,7 @@ Storage::Storage(const LogBuilderPtr& defaultLogBuilder) :
|
|||
sysLogLogger->reconfigure();
|
||||
#endif // defined(ELPP_SYSLOG)
|
||||
addFlag(LoggingFlag::AllowVerboseIfModuleNotSpecified);
|
||||
addFlag(LoggingFlag::CreateLoggerAutomatically);
|
||||
#if ELPP_ASYNC_LOGGING
|
||||
installLogDispatchCallback<base::AsyncLogDispatchCallback>(std::string("AsyncLogDispatchCallback"));
|
||||
#else
|
||||
|
|
Loading…
Reference in a new issue