From c792961000a6bc8fa33dabdf42d07a25e44e8662 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 28 Nov 2019 04:19:24 -0500 Subject: 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. --- Source/Core/VideoBackends/Vulkan/VulkanLoader.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Source/Core/VideoBackends/Vulkan/VulkanLoader.cpp') diff --git a/Source/Core/VideoBackends/Vulkan/VulkanLoader.cpp b/Source/Core/VideoBackends/Vulkan/VulkanLoader.cpp index cb1c8d6571..93090fb939 100644 --- a/Source/Core/VideoBackends/Vulkan/VulkanLoader.cpp +++ b/Source/Core/VideoBackends/Vulkan/VulkanLoader.cpp @@ -216,7 +216,8 @@ void LogVulkanResult(int level, const char* func_name, VkResult res, const char* real_msg = StringFromFormat("(%s) %s (%d: %s)", func_name, real_msg.c_str(), static_cast(res), VkResultToString(res)); - GENERIC_LOG(LogTypes::VIDEO, static_cast(level), "%s", real_msg.c_str()); + GENERIC_LOG(Common::Log::VIDEO, static_cast(level), "%s", + real_msg.c_str()); } } // namespace Vulkan -- cgit v1.2.3