service/ns: Migrate logging macros (#3857)

* service/ns: Migrate logging macros

* service/ns: Addressed comment about PRIx64

* service/ns: Missed 'x' in format when removing PRIx64
This commit is contained in:
NarcolepticK 2018-06-22 04:47:02 -04:00 committed by Weiyi Wang
parent 2d94c25265
commit 584e7d71e2
1 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ Kernel::SharedPtr<Kernel::Process> LaunchTitle(FS::MediaType media_type, u64 tit
auto loader = Loader::GetLoader(path);
if (!loader) {
LOG_WARNING(Service_NS, "Could not find .app for title 0x%016" PRIx64, title_id);
NGLOG_WARNING(Service_NS, "Could not find .app for title 0x{:016x}", title_id);
return nullptr;
}
@ -24,7 +24,7 @@ Kernel::SharedPtr<Kernel::Process> LaunchTitle(FS::MediaType media_type, u64 tit
Loader::ResultStatus result = loader->Load(process);
if (result != Loader::ResultStatus::Success) {
LOG_WARNING(Service_NS, "Error loading .app for title 0x%016" PRIx64, title_id);
NGLOG_WARNING(Service_NS, "Error loading .app for title 0x{:016x}", title_id);
return nullptr;
}