mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-27 04:24:30 -07:00
easylogging++: ensure logger is initialized before main
This commit is contained in:
parent
9b69a0ae01
commit
ab783b1700
1
external/easylogging++/easylogging++.cc
vendored
1
external/easylogging++/easylogging++.cc
vendored
@ -2202,6 +2202,7 @@ el::base::type::StoragePointer el::base::Storage::getELPP()
|
|||||||
{
|
{
|
||||||
return getresetELPP(false);
|
return getresetELPP(false);
|
||||||
}
|
}
|
||||||
|
static struct EnsureELPP { EnsureELPP() { el::base::Storage::getELPP(); } } ensureELPP;
|
||||||
#if ELPP_ASYNC_LOGGING
|
#if ELPP_ASYNC_LOGGING
|
||||||
Storage::Storage(const LogBuilderPtr& defaultLogBuilder, base::IWorker* asyncDispatchWorker) :
|
Storage::Storage(const LogBuilderPtr& defaultLogBuilder, base::IWorker* asyncDispatchWorker) :
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user