mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-24 20:36:24 -05:00
sockets: Move logging macros over to new fmt-compatible ones
This commit is contained in:
parent
2a3f3bf977
commit
62c69f4a1e
2 changed files with 8 additions and 7 deletions
|
@ -8,7 +8,7 @@
|
||||||
namespace Service::Sockets {
|
namespace Service::Sockets {
|
||||||
|
|
||||||
void BSD::RegisterClient(Kernel::HLERequestContext& ctx) {
|
void BSD::RegisterClient(Kernel::HLERequestContext& ctx) {
|
||||||
LOG_WARNING(Service, "(STUBBED) called");
|
NGLOG_WARNING(Service, "(STUBBED) called");
|
||||||
|
|
||||||
IPC::ResponseBuilder rb{ctx, 3};
|
IPC::ResponseBuilder rb{ctx, 3};
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ void BSD::RegisterClient(Kernel::HLERequestContext& ctx) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void BSD::StartMonitoring(Kernel::HLERequestContext& ctx) {
|
void BSD::StartMonitoring(Kernel::HLERequestContext& ctx) {
|
||||||
LOG_WARNING(Service, "(STUBBED) called");
|
NGLOG_WARNING(Service, "(STUBBED) called");
|
||||||
|
|
||||||
IPC::ResponseBuilder rb{ctx, 3};
|
IPC::ResponseBuilder rb{ctx, 3};
|
||||||
|
|
||||||
|
@ -32,7 +32,8 @@ void BSD::Socket(Kernel::HLERequestContext& ctx) {
|
||||||
u32 type = rp.Pop<u32>();
|
u32 type = rp.Pop<u32>();
|
||||||
u32 protocol = 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++;
|
u32 fd = next_fd++;
|
||||||
|
|
||||||
|
@ -44,7 +45,7 @@ void BSD::Socket(Kernel::HLERequestContext& ctx) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void BSD::Connect(Kernel::HLERequestContext& ctx) {
|
void BSD::Connect(Kernel::HLERequestContext& ctx) {
|
||||||
LOG_WARNING(Service, "(STUBBED) called");
|
NGLOG_WARNING(Service, "(STUBBED) called");
|
||||||
|
|
||||||
IPC::ResponseBuilder rb{ctx, 4};
|
IPC::ResponseBuilder rb{ctx, 4};
|
||||||
|
|
||||||
|
@ -54,7 +55,7 @@ void BSD::Connect(Kernel::HLERequestContext& ctx) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void BSD::SendTo(Kernel::HLERequestContext& ctx) {
|
void BSD::SendTo(Kernel::HLERequestContext& ctx) {
|
||||||
LOG_WARNING(Service, "(STUBBED) called");
|
NGLOG_WARNING(Service, "(STUBBED) called");
|
||||||
|
|
||||||
IPC::ResponseBuilder rb{ctx, 4};
|
IPC::ResponseBuilder rb{ctx, 4};
|
||||||
|
|
||||||
|
@ -64,7 +65,7 @@ void BSD::SendTo(Kernel::HLERequestContext& ctx) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void BSD::Close(Kernel::HLERequestContext& ctx) {
|
void BSD::Close(Kernel::HLERequestContext& ctx) {
|
||||||
LOG_WARNING(Service, "(STUBBED) called");
|
NGLOG_WARNING(Service, "(STUBBED) called");
|
||||||
|
|
||||||
IPC::ResponseBuilder rb{ctx, 4};
|
IPC::ResponseBuilder rb{ctx, 4};
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ namespace Service::Sockets {
|
||||||
void SFDNSRES::GetAddrInfo(Kernel::HLERequestContext& ctx) {
|
void SFDNSRES::GetAddrInfo(Kernel::HLERequestContext& ctx) {
|
||||||
IPC::RequestParser rp{ctx};
|
IPC::RequestParser rp{ctx};
|
||||||
|
|
||||||
LOG_WARNING(Service, "(STUBBED) called");
|
NGLOG_WARNING(Service, "(STUBBED) called");
|
||||||
|
|
||||||
IPC::ResponseBuilder rb{ctx, 2};
|
IPC::ResponseBuilder rb{ctx, 2};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue