easylogging++: ensure logger is initialized before main

This commit is contained in:
moneromooo-monero 2018-11-30 17:58:58 +00:00
parent 9b69a0ae01
commit ab783b1700
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3

View file

@ -2202,6 +2202,7 @@ el::base::type::StoragePointer el::base::Storage::getELPP()
{
return getresetELPP(false);
}
static struct EnsureELPP { EnsureELPP() { el::base::Storage::getELPP(); } } ensureELPP;
#if ELPP_ASYNC_LOGGING
Storage::Storage(const LogBuilderPtr& defaultLogBuilder, base::IWorker* asyncDispatchWorker) :
#else