summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Lioncash2018-04-24 11:05:22 -0400
committerGravatar Lioncash2018-04-24 12:01:32 -0400
commitd08cfb55fe77599074a4d55cc10149257c1fcd84 (patch)
tree6d147c2635e8d2f6fd598b97723f63780932bcda
parentvi: Move logging macros over to new fmt-compatible ones (diff)
downloadyuzu-d08cfb55fe77599074a4d55cc10149257c1fcd84.tar.gz
yuzu-d08cfb55fe77599074a4d55cc10149257c1fcd84.tar.xz
yuzu-d08cfb55fe77599074a4d55cc10149257c1fcd84.zip
service: Move logging macros over to new fmt-compatible ones
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/service.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/hle/service/service.cpp b/src/core/hle/service/service.cpp
index 08ce29677..5817819fe 100644
--- a/src/core/hle/service/service.cpp
+++ b/src/core/hle/service/service.cpp
@@ -120,7 +120,7 @@ void ServiceFrameworkBase::ReportUnimplementedFunction(Kernel::HLERequestContext
120 } 120 }
121 buf.push_back('}'); 121 buf.push_back('}');
122 122
123 LOG_ERROR(Service, "unknown / unimplemented %s", fmt::to_string(buf).c_str()); 123 NGLOG_ERROR(Service, "unknown / unimplemented {}", fmt::to_string(buf));
124 UNIMPLEMENTED(); 124 UNIMPLEMENTED();
125} 125}
126 126
@@ -131,8 +131,8 @@ void ServiceFrameworkBase::InvokeRequest(Kernel::HLERequestContext& ctx) {
131 return ReportUnimplementedFunction(ctx, info); 131 return ReportUnimplementedFunction(ctx, info);
132 } 132 }
133 133
134 LOG_TRACE( 134 NGLOG_TRACE(
135 Service, "%s", 135 Service, "{}",
136 MakeFunctionString(info->name, GetServiceName().c_str(), ctx.CommandBuffer()).c_str()); 136 MakeFunctionString(info->name, GetServiceName().c_str(), ctx.CommandBuffer()).c_str());
137 handler_invoker(this, info->handler_callback, ctx); 137 handler_invoker(this, info->handler_callback, ctx);
138} 138}
@@ -199,12 +199,12 @@ void Init(std::shared_ptr<SM::ServiceManager>& sm) {
199 VI::InstallInterfaces(*sm, nv_flinger); 199 VI::InstallInterfaces(*sm, nv_flinger);
200 Set::InstallInterfaces(*sm); 200 Set::InstallInterfaces(*sm);
201 201
202 LOG_DEBUG(Service, "initialized OK"); 202 NGLOG_DEBUG(Service, "initialized OK");
203} 203}
204 204
205/// Shutdown ServiceManager 205/// Shutdown ServiceManager
206void Shutdown() { 206void Shutdown() {
207 g_kernel_named_ports.clear(); 207 g_kernel_named_ports.clear();
208 LOG_DEBUG(Service, "shutdown OK"); 208 NGLOG_DEBUG(Service, "shutdown OK");
209} 209}
210} // namespace Service 210} // namespace Service