easylogging++: faster access to logging

Turns out getting the global shared_ptr hits the profile,
and passing it around still keeps it at close to ~1% CPU,
which is too much for mostly silent logging.

Leak the object instead, which is even safer for late logging.
This commit is contained in:
moneromooo-monero 2018-11-11 21:34:37 +00:00
parent 7cc27b367e
commit 721aacd88e
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
3 changed files with 19 additions and 2 deletions