aboutsummaryrefslogtreecommitdiff
path: root/external/easylogging++/easylogging++.cc
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2018-12-12 12:01:18 +0200
committerRiccardo Spagni <ric@spagni.net>2018-12-12 12:01:18 +0200
commit5e9225e63771161d4260c609077162e957b1524b (patch)
tree047b858f4f9574523cf444586ecda430e98f630e /external/easylogging++/easylogging++.cc
parentMerge pull request #4924 (diff)
parenteasylogging++: ensure logger is initialized before main (diff)
downloadmonero-5e9225e63771161d4260c609077162e957b1524b.tar.xz
Merge pull request #4925
ab783b17 easylogging++: ensure logger is initialized before main (moneromooo-monero) 9b69a0ae daemon: print monero version at startup when calling a detached daemon (moneromooo-monero) 4d71d463 mlocker: remove early page size log (moneromooo-monero)
Diffstat (limited to 'external/easylogging++/easylogging++.cc')
-rw-r--r--external/easylogging++/easylogging++.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/external/easylogging++/easylogging++.cc b/external/easylogging++/easylogging++.cc
index c24fb80cf..aec4a150d 100644
--- a/external/easylogging++/easylogging++.cc
+++ b/external/easylogging++/easylogging++.cc
@@ -2197,6 +2197,7 @@ el::base::type::StoragePointer &el::base::Storage::getELPP()
el::base::elStorage = new el::base::Storage(el::LogBuilderPtr(new el::base::DefaultLogBuilder()));
return el::base::elStorage;
}
+static struct EnsureELPP { EnsureELPP() { el::base::Storage::getELPP(); } } ensureELPP;
#if ELPP_ASYNC_LOGGING
Storage::Storage(const LogBuilderPtr& defaultLogBuilder, base::IWorker* asyncDispatchWorker) :
#else