VERY experimental Nintendo Switch 2 emulator
C++
sockets: Move logging macros over to new fmt-compatible ones
Lioncashe70f5cb60305
diff --git a/src/core/hle/service/sockets/bsd.cpp b/src/core/hle/service/sockets/bsd.cppindex f99809bede..ab909fdaa3 100644--- a/src/core/hle/service/sockets/bsd.cpp+++ b/src/core/hle/service/sockets/bsd.cpp@@ -8,7 +8,7 @@namespace Service::Sockets {void BSD::RegisterClient(Kernel::HLERequestContext& ctx) {- LOG_WARNING(Service, "(STUBBED) called");+ NGLOG_WARNING(Service, "(STUBBED) called");IPC::ResponseBuilder rb{ctx, 3};@@ -17,7 +17,7 @@ void BSD::RegisterClient(Kernel::HLERequestContext& ctx) {}void BSD::StartMonitoring(Kernel::HLERequestContext& ctx) {- LOG_WARNING(Service, "(STUBBED) called");+ NGLOG_WARNING(Service, "(STUBBED) called");IPC::ResponseBuilder rb{ctx, 3};@@ -32,7 +32,8 @@ void BSD::Socket(Kernel::HLERequestContext& ctx) {u32 type = rp.Pop<u32>();u32 protocol = rp.Pop<u32>();- LOG_WARNING(Service, "(STUBBED) called domain=%u type=%u protocol=%u", domain, type, protocol);+ NGLOG_WARNING(Service, "(STUBBED) called domain={} type={} protocol={}", domain, type,+ protocol);u32 fd = next_fd++;@@ -44,7 +45,7 @@ void BSD::Socket(Kernel::HLERequestContext& ctx) {}void BSD::Connect(Kernel::HLERequestContext& ctx) {- LOG_WARNING(Service, "(STUBBED) called");+ NGLOG_WARNING(Service, "(STUBBED) called");IPC::ResponseBuilder rb{ctx, 4};@@ -54,7 +55,7 @@ void BSD::Connect(Kernel::HLERequestContext& ctx) {}void BSD::SendTo(Kernel::HLERequestContext& ctx) {- LOG_WARNING(Service, "(STUBBED) called");+ NGLOG_WARNING(Service, "(STUBBED) called");IPC::ResponseBuilder rb{ctx, 4};@@ -64,7 +65,7 @@ void BSD::SendTo(Kernel::HLERequestContext& ctx) {}void BSD::Close(Kernel::HLERequestContext& ctx) {- LOG_WARNING(Service, "(STUBBED) called");+ NGLOG_WARNING(Service, "(STUBBED) called");IPC::ResponseBuilder rb{ctx, 4};diff --git a/src/core/hle/service/sockets/sfdnsres.cpp b/src/core/hle/service/sockets/sfdnsres.cppindex d235c4cfd0..f377e59f2c 100644--- a/src/core/hle/service/sockets/sfdnsres.cpp+++ b/src/core/hle/service/sockets/sfdnsres.cpp@@ -10,7 +10,7 @@ namespace Service::Sockets {void SFDNSRES::GetAddrInfo(Kernel::HLERequestContext& ctx) {IPC::RequestParser rp{ctx};- LOG_WARNING(Service, "(STUBBED) called");+ NGLOG_WARNING(Service, "(STUBBED) called");IPC::ResponseBuilder rb{ctx, 2};