diff options
| author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-04-22 12:15:57 +0100 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-04-22 12:15:57 +0100 |
| commit | 5d86c9f4d53441e712c3d63883b92a0255de4bf2 (patch) | |
| tree | 932d20b2405c5bf0a42120ec696d6bddfd690fd4 /external/easylogging++/easylogging++.cc | |
| parent | 9ed496bbc56be915d9a33dc0087cb22b554ade61 (diff) | |
| download | monzero-core-5d86c9f4d53441e712c3d63883b92a0255de4bf2.tar.gz monzero-core-5d86c9f4d53441e712c3d63883b92a0255de4bf2.tar.xz monzero-core-5d86c9f4d53441e712c3d63883b92a0255de4bf2.zip | |
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
Diffstat (limited to 'external/easylogging++/easylogging++.cc')
| -rw-r--r-- | external/easylogging++/easylogging++.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/external/easylogging++/easylogging++.cc b/external/easylogging++/easylogging++.cc index 3e8463fdf..2438fd77c 100644 --- a/external/easylogging++/easylogging++.cc +++ b/external/easylogging++/easylogging++.cc @@ -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 |
