log: encapsulate logger
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
8
src/util/log.cc
Normal file
8
src/util/log.cc
Normal file
@@ -0,0 +1,8 @@
|
||||
#include "log.hh"
|
||||
|
||||
logging::Logger glogger = logging::Logger();
|
||||
|
||||
void
|
||||
matar::set_log_level(LogLevel level) {
|
||||
glogger.set_level(level);
|
||||
}
|
||||
Reference in New Issue
Block a user