diff options
| author | bunnei <bunneidev@gmail.com> | 2018-02-04 22:55:45 -0500 | 
|---|---|---|
| committer | bunnei <bunneidev@gmail.com> | 2018-02-04 22:55:45 -0500 | 
| commit | c689fe84244868542bf557b2ca3fe1da63f2a6da (patch) | |
| tree | 1a1ed34a12298fa994e2fca772aa4003b35ef223 | |
| parent | fc1359dc03cac8df8c4dcddf48b67de6622b97a4 (diff) | |
logger: Add SET service logging category.
| -rw-r--r-- | src/common/logging/backend.cpp | 8 | ||||
| -rw-r--r-- | src/common/logging/log.h | 18 | ||||
| -rw-r--r-- | src/core/hle/service/set/set.cpp | 2 | 
3 files changed, 12 insertions, 16 deletions
diff --git a/src/common/logging/backend.cpp b/src/common/logging/backend.cpp index 6dcfaed69..2848fe116 100644 --- a/src/common/logging/backend.cpp +++ b/src/common/logging/backend.cpp @@ -33,19 +33,17 @@ namespace Log {      SUB(Kernel, SVC)                                                                               \      CLS(Service)                                                                                   \      SUB(Service, ACC)                                                                              \ +    SUB(Service, Audio)                                                                            \      SUB(Service, AM)                                                                               \      SUB(Service, APM)                                                                              \ -    SUB(Service, SM)                                                                               \      SUB(Service, FS)                                                                               \ -    SUB(Service, GSP)                                                                              \ -    SUB(Service, CFG)                                                                              \ -    SUB(Service, DSP)                                                                              \      SUB(Service, HID)                                                                              \      SUB(Service, LM)                                                                               \      SUB(Service, NIFM)                                                                             \      SUB(Service, NVDRV)                                                                            \      SUB(Service, PCTL)                                                                             \ -    SUB(Service, Audio)                                                                            \ +    SUB(Service, SET)                                                                              \ +    SUB(Service, SM)                                                                               \      SUB(Service, VI)                                                                               \      CLS(HW)                                                                                        \      SUB(HW, Memory)                                                                                \ diff --git a/src/common/logging/log.h b/src/common/logging/log.h index b7d3e1c4f..f7336cea8 100644 --- a/src/common/logging/log.h +++ b/src/common/logging/log.h @@ -49,20 +49,18 @@ enum class Class : ClassType {      Kernel_SVC,        ///< Kernel system calls      Service,           ///< HLE implementation of system services. Each major service                         ///  should have its own subclass. -    Service_ACC,       ///< The ACC (Account service) implementation -    Service_AM,        ///< The AM (Applet manager service) implementation -    Service_APM,       ///< The APM service implementation -    Service_SM,        ///< The SRV (Service Directory) implementation -    Service_FS,        ///< The FS (Filesystem) service implementation -    Service_GSP,       ///< The GSP (GPU control) service -    Service_CFG,       ///< The CFG (Configuration) service -    Service_DSP,       ///< The DSP (DSP control) service +    Service_ACC,       ///< The ACC (Accounts) service +    Service_AM,        ///< The AM (Applet manager) service +    Service_APM,       ///< The APM (Performance) service +    Service_Audio,     ///< The Audio (Audio control) service +    Service_FS,        ///< The FS (Filesystem) service      Service_HID,       ///< The HID (Human interface device) service -    Service_LM,        ///< The LM (Logger) service implementation +    Service_LM,        ///< The LM (Logger) service      Service_NIFM,      ///< The NIFM (Network interface) service      Service_NVDRV,     ///< The NVDRV (Nvidia driver) service      Service_PCTL,      ///< The PCTL (Parental control) service -    Service_Audio,     ///< The Audio (Audio control) service +    Service_SET,       ///< The SET (Settings) service +    Service_SM,        ///< The SM (Service manager) service      Service_VI,        ///< The VI (Video interface) service      HW,                ///< Low-level hardware emulation      HW_Memory,         ///< Memory-map and address translation diff --git a/src/core/hle/service/set/set.cpp b/src/core/hle/service/set/set.cpp index e0e157fe1..d139304bb 100644 --- a/src/core/hle/service/set/set.cpp +++ b/src/core/hle/service/set/set.cpp @@ -24,7 +24,7 @@ void SET::GetAvailableLanguageCodes(Kernel::HLERequestContext& ctx) {      rb.Push(RESULT_SUCCESS);      rb.Push(static_cast<u64>(lang_codes.size())); -    LOG_WARNING(Service, "(STUBBED) called"); +    LOG_WARNING(Service_SET, "(STUBBED) called");  }  SET::SET(const char* name) : ServiceFramework(name) {  | 
