forked from ShuriZma/suyu
logger: Add LM service logging category.
This commit is contained in:
parent
8d2e4c3d39
commit
649960b4eb
|
@ -41,6 +41,7 @@ namespace Log {
|
||||||
SUB(Service, CFG) \
|
SUB(Service, CFG) \
|
||||||
SUB(Service, DSP) \
|
SUB(Service, DSP) \
|
||||||
SUB(Service, HID) \
|
SUB(Service, HID) \
|
||||||
|
SUB(Service, LM) \
|
||||||
SUB(Service, NIFM) \
|
SUB(Service, NIFM) \
|
||||||
SUB(Service, NVDRV) \
|
SUB(Service, NVDRV) \
|
||||||
SUB(Service, Audio) \
|
SUB(Service, Audio) \
|
||||||
|
|
|
@ -58,6 +58,7 @@ enum class Class : ClassType {
|
||||||
Service_CFG, ///< The CFG (Configuration) service
|
Service_CFG, ///< The CFG (Configuration) service
|
||||||
Service_DSP, ///< The DSP (DSP control) service
|
Service_DSP, ///< The DSP (DSP control) service
|
||||||
Service_HID, ///< The HID (Human interface device) service
|
Service_HID, ///< The HID (Human interface device) service
|
||||||
|
Service_LM, ///< The LM (Logger) service implementation
|
||||||
Service_NIFM, ///< The NIFM (Network interface) service
|
Service_NIFM, ///< The NIFM (Network interface) service
|
||||||
Service_NVDRV, ///< The NVDRV (Nvidia driver) service
|
Service_NVDRV, ///< The NVDRV (Nvidia driver) service
|
||||||
Service_Audio, ///< The Audio (Audio control) service
|
Service_Audio, ///< The Audio (Audio control) service
|
||||||
|
|
|
@ -76,7 +76,7 @@ private:
|
||||||
addr += sizeof(MessageHeader);
|
addr += sizeof(MessageHeader);
|
||||||
|
|
||||||
if (!header.IsSingleMessage()) {
|
if (!header.IsSingleMessage()) {
|
||||||
LOG_WARNING(Service, "Multi message logs are unimplemeneted");
|
LOG_WARNING(Service_LM, "Multi message logs are unimplemeneted");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -150,7 +150,7 @@ void LM::Initialize(Kernel::HLERequestContext& ctx) {
|
||||||
rb.Push(RESULT_SUCCESS);
|
rb.Push(RESULT_SUCCESS);
|
||||||
rb.PushIpcInterface<Logger>();
|
rb.PushIpcInterface<Logger>();
|
||||||
|
|
||||||
LOG_DEBUG(Service, "called");
|
LOG_DEBUG(Service_LM, "called");
|
||||||
}
|
}
|
||||||
|
|
||||||
LM::LM() : ServiceFramework("lm") {
|
LM::LM() : ServiceFramework("lm") {
|
||||||
|
|
Loading…
Reference in New Issue