Skip to content

Commit

Permalink
easylogging++: ensure logger is initialized before main
Browse files Browse the repository at this point in the history
  • Loading branch information
moneromooo-monero committed Nov 30, 2018
1 parent 9b69a0a commit ab783b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions external/easylogging++/easylogging++.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ab783b1

Please sign in to comment.