diff options
author | bunnei <bunneidev@gmail.com> | 2018-02-05 04:41:55 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-02-05 04:41:55 +0100 |
commit | 649960b4eb40d453ad55688b0fe0dc9677ca1605 (patch) | |
tree | 7461875b4c1dd65f0f966ccc59aad3f584f17f6c /src | |
parent | logger: Add APM service logging category. (diff) | |
download | yuzu-649960b4eb40d453ad55688b0fe0dc9677ca1605.tar yuzu-649960b4eb40d453ad55688b0fe0dc9677ca1605.tar.gz yuzu-649960b4eb40d453ad55688b0fe0dc9677ca1605.tar.bz2 yuzu-649960b4eb40d453ad55688b0fe0dc9677ca1605.tar.lz yuzu-649960b4eb40d453ad55688b0fe0dc9677ca1605.tar.xz yuzu-649960b4eb40d453ad55688b0fe0dc9677ca1605.tar.zst yuzu-649960b4eb40d453ad55688b0fe0dc9677ca1605.zip |
Diffstat (limited to '')
-rw-r--r-- | src/common/logging/backend.cpp | 1 | ||||
-rw-r--r-- | src/common/logging/log.h | 1 | ||||
-rw-r--r-- | src/core/hle/service/lm/lm.cpp | 4 |
3 files changed, 4 insertions, 2 deletions
diff --git a/src/common/logging/backend.cpp b/src/common/logging/backend.cpp index 27a18a6c2..9af9f531b 100644 --- a/src/common/logging/backend.cpp +++ b/src/common/logging/backend.cpp @@ -41,6 +41,7 @@ namespace Log { SUB(Service, CFG) \ SUB(Service, DSP) \ SUB(Service, HID) \ + SUB(Service, LM) \ SUB(Service, NIFM) \ SUB(Service, NVDRV) \ SUB(Service, Audio) \ diff --git a/src/common/logging/log.h b/src/common/logging/log.h index 83fd012f1..6897a1036 100644 --- a/src/common/logging/log.h +++ b/src/common/logging/log.h @@ -58,6 +58,7 @@ enum class Class : ClassType { Service_CFG, ///< The CFG (Configuration) service Service_DSP, ///< The DSP (DSP control) service Service_HID, ///< The HID (Human interface device) service + Service_LM, ///< The LM (Logger) service implementation Service_NIFM, ///< The NIFM (Network interface) service Service_NVDRV, ///< The NVDRV (Nvidia driver) service Service_Audio, ///< The Audio (Audio control) service diff --git a/src/core/hle/service/lm/lm.cpp b/src/core/hle/service/lm/lm.cpp index 7ff9c37f3..c480f6b97 100644 --- a/src/core/hle/service/lm/lm.cpp +++ b/src/core/hle/service/lm/lm.cpp @@ -76,7 +76,7 @@ private: addr += sizeof(MessageHeader); if (!header.IsSingleMessage()) { - LOG_WARNING(Service, "Multi message logs are unimplemeneted"); + LOG_WARNING(Service_LM, "Multi message logs are unimplemeneted"); return; } @@ -150,7 +150,7 @@ void LM::Initialize(Kernel::HLERequestContext& ctx) { rb.Push(RESULT_SUCCESS); rb.PushIpcInterface<Logger>(); - LOG_DEBUG(Service, "called"); + LOG_DEBUG(Service_LM, "called"); } LM::LM() : ServiceFramework("lm") { |