mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Common: Unify logging namespace with Common
Previously the logging was a in a little bit of a disarray. Some things were in namespaces, and other things were not. Given this code will feature a bit of restructuring during the transition over to fmt, this is a good time to unify it under a single namespace and also remove functions and types from the global namespace. Now, all functions and types are under the Common::Log namespace. The only outliers being, of course, the preprocessor macros.
This commit is contained in:
@ -312,7 +312,7 @@ static void VLogInfo(std::string_view format, fmt::format_args args)
|
||||
return;
|
||||
|
||||
const bool use_internal_log = s_use_internal_log.load(std::memory_order_relaxed);
|
||||
if (MAX_LOGLEVEL < LogTypes::LINFO && !use_internal_log)
|
||||
if (MAX_LOGLEVEL < Common::Log::LINFO && !use_internal_log)
|
||||
return;
|
||||
|
||||
std::string text = fmt::vformat(format, args);
|
||||
|
Reference in New Issue
Block a user