Merge pull request #1997

5d86c9f4 easylogging++: default to creating categories by default (moneromooo-monero)
This commit is contained in:
Riccardo Spagni 2017-05-05 11:24:04 +02:00
commit f76fd38baa
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD

View File

@ -2095,6 +2095,7 @@ Storage::Storage(const LogBuilderPtr& defaultLogBuilder) :
sysLogLogger->reconfigure(); sysLogLogger->reconfigure();
#endif // defined(ELPP_SYSLOG) #endif // defined(ELPP_SYSLOG)
addFlag(LoggingFlag::AllowVerboseIfModuleNotSpecified); addFlag(LoggingFlag::AllowVerboseIfModuleNotSpecified);
addFlag(LoggingFlag::CreateLoggerAutomatically);
#if ELPP_ASYNC_LOGGING #if ELPP_ASYNC_LOGGING
installLogDispatchCallback<base::AsyncLogDispatchCallback>(std::string("AsyncLogDispatchCallback")); installLogDispatchCallback<base::AsyncLogDispatchCallback>(std::string("AsyncLogDispatchCallback"));
#else #else