Move global loggers to the global namespace

Avoiding namespace scope globals as initialization order is less well
defined.
This commit is contained in:
Bill Somerville
2020-10-01 23:32:33 +01:00
parent 573b7ea1c8
commit d7eac1803d
4 changed files with 26 additions and 26 deletions
+1 -1
View File
@@ -200,7 +200,7 @@ void WSJTXLogging::qt_log_handler (QtMsgType type, QMessageLogContext const& con
}
// Map non-default Qt categories to logger channels, Qt logger
// context is mapped to the appropriate logger attributes.
auto log = Logger::sys::get ();
auto log = sys::get ();
std::string file;
std::string function;
if (context.file)