From a5e1415e74ce5b6b2a339256aa3e97748a3a2484 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 22 Oct 2020 17:49:29 -0400 Subject: InputCommon: Migrate logging over to fmt Continues the migration of the logging calls over to the fmt capable ones. --- Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp') diff --git a/Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp b/Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp index 342869a69b..eabc2cd0f1 100644 --- a/Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp +++ b/Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp @@ -222,7 +222,7 @@ void ControllerInterface::AddDevice(std::shared_ptr device device->SetId(id); } - NOTICE_LOG(SERIALINTERFACE, "Added device: %s", device->GetQualifiedName().c_str()); + NOTICE_LOG_FMT(SERIALINTERFACE, "Added device: {}", device->GetQualifiedName()); m_devices.emplace_back(std::move(device)); } @@ -237,7 +237,7 @@ void ControllerInterface::RemoveDevice(std::functionGetQualifiedName().c_str()); + NOTICE_LOG_FMT(SERIALINTERFACE, "Removed device: {}", dev->GetQualifiedName()); return true; } return false; -- cgit v1.2.3