fix: datetime error in loging

sync_microcore
moneroexamples 5 years ago
parent 9e3b72fb75
commit a7a80e118c

@ -90,8 +90,8 @@ defaultConf.setGlobally(el::ConfigurationType::ToStandardOutput, "true");
// default format: %datetime %level [%logger] %msg
// we change to add file and func
defaultConf.setGlobally(el::ConfigurationType::Format,
"%datetime
[%levshort,%logger,%fbase:%func:%line] %msg");
"%datetime [%levshort,%logger,%fbase:%func:%line]"
" %msg");
el::Loggers::reconfigureLogger(OPENMONERO_LOG_CATEGORY, defaultConf);

Loading…
Cancel
Save