summaryrefslogtreecommitdiff
path: root/src/common/logging
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/logging')
-rw-r--r--src/common/logging/backend.cpp16
-rw-r--r--src/common/logging/log.h16
-rw-r--r--src/common/logging/text_formatter.h1
3 files changed, 33 insertions, 0 deletions
diff --git a/src/common/logging/backend.cpp b/src/common/logging/backend.cpp
index ad9edbcdf..355abd682 100644
--- a/src/common/logging/backend.cpp
+++ b/src/common/logging/backend.cpp
@@ -168,26 +168,41 @@ void FileBackend::Write(const Entry& entry) {
168 SUB(Service, AM) \ 168 SUB(Service, AM) \
169 SUB(Service, AOC) \ 169 SUB(Service, AOC) \
170 SUB(Service, APM) \ 170 SUB(Service, APM) \
171 SUB(Service, ARP) \
171 SUB(Service, BCAT) \ 172 SUB(Service, BCAT) \
173 SUB(Service, BPC) \
174 SUB(Service, BTM) \
175 SUB(Service, Capture) \
172 SUB(Service, Fatal) \ 176 SUB(Service, Fatal) \
177 SUB(Service, FGM) \
173 SUB(Service, Friend) \ 178 SUB(Service, Friend) \
174 SUB(Service, FS) \ 179 SUB(Service, FS) \
175 SUB(Service, HID) \ 180 SUB(Service, HID) \
181 SUB(Service, LBL) \
176 SUB(Service, LDN) \ 182 SUB(Service, LDN) \
177 SUB(Service, LM) \ 183 SUB(Service, LM) \
184 SUB(Service, Migration) \
185 SUB(Service, Mii) \
178 SUB(Service, MM) \ 186 SUB(Service, MM) \
187 SUB(Service, NCM) \
188 SUB(Service, NFC) \
179 SUB(Service, NFP) \ 189 SUB(Service, NFP) \
180 SUB(Service, NIFM) \ 190 SUB(Service, NIFM) \
181 SUB(Service, NS) \ 191 SUB(Service, NS) \
182 SUB(Service, NVDRV) \ 192 SUB(Service, NVDRV) \
193 SUB(Service, PCIE) \
183 SUB(Service, PCTL) \ 194 SUB(Service, PCTL) \
195 SUB(Service, PCV) \
184 SUB(Service, PREPO) \ 196 SUB(Service, PREPO) \
197 SUB(Service, PSC) \
185 SUB(Service, SET) \ 198 SUB(Service, SET) \
186 SUB(Service, SM) \ 199 SUB(Service, SM) \
187 SUB(Service, SPL) \ 200 SUB(Service, SPL) \
188 SUB(Service, SSL) \ 201 SUB(Service, SSL) \
189 SUB(Service, Time) \ 202 SUB(Service, Time) \
203 SUB(Service, USB) \
190 SUB(Service, VI) \ 204 SUB(Service, VI) \
205 SUB(Service, WLAN) \
191 CLS(HW) \ 206 CLS(HW) \
192 SUB(HW, Memory) \ 207 SUB(HW, Memory) \
193 SUB(HW, LCD) \ 208 SUB(HW, LCD) \
@@ -204,6 +219,7 @@ void FileBackend::Write(const Entry& entry) {
204 CLS(Input) \ 219 CLS(Input) \
205 CLS(Network) \ 220 CLS(Network) \
206 CLS(Loader) \ 221 CLS(Loader) \
222 CLS(Crypto) \
207 CLS(WebService) 223 CLS(WebService)
208 224
209// GetClassName is a macro defined by Windows.h, grrr... 225// GetClassName is a macro defined by Windows.h, grrr...
diff --git a/src/common/logging/log.h b/src/common/logging/log.h
index ad3cbf5d1..a889ebefa 100644
--- a/src/common/logging/log.h
+++ b/src/common/logging/log.h
@@ -54,27 +54,42 @@ enum class Class : ClassType {
54 Service_AM, ///< The AM (Applet manager) service 54 Service_AM, ///< The AM (Applet manager) service
55 Service_AOC, ///< The AOC (AddOn Content) service 55 Service_AOC, ///< The AOC (AddOn Content) service
56 Service_APM, ///< The APM (Performance) service 56 Service_APM, ///< The APM (Performance) service
57 Service_ARP, ///< The ARP service
57 Service_Audio, ///< The Audio (Audio control) service 58 Service_Audio, ///< The Audio (Audio control) service
58 Service_BCAT, ///< The BCAT service 59 Service_BCAT, ///< The BCAT service
60 Service_BPC, ///< The BPC service
61 Service_BTM, ///< The BTM service
62 Service_Capture, ///< The capture service
59 Service_Fatal, ///< The Fatal service 63 Service_Fatal, ///< The Fatal service
64 Service_FGM, ///< The FGM service
60 Service_Friend, ///< The friend service 65 Service_Friend, ///< The friend service
61 Service_FS, ///< The FS (Filesystem) service 66 Service_FS, ///< The FS (Filesystem) service
62 Service_HID, ///< The HID (Human interface device) service 67 Service_HID, ///< The HID (Human interface device) service
68 Service_LBL, ///< The LBL (LCD backlight) service
63 Service_LDN, ///< The LDN (Local domain network) service 69 Service_LDN, ///< The LDN (Local domain network) service
64 Service_LM, ///< The LM (Logger) service 70 Service_LM, ///< The LM (Logger) service
71 Service_Migration, ///< The migration service
72 Service_Mii, ///< The Mii service
65 Service_MM, ///< The MM (Multimedia) service 73 Service_MM, ///< The MM (Multimedia) service
74 Service_NCM, ///< The NCM service
75 Service_NFC, ///< The NFC (Near-field communication) service
66 Service_NFP, ///< The NFP service 76 Service_NFP, ///< The NFP service
67 Service_NIFM, ///< The NIFM (Network interface) service 77 Service_NIFM, ///< The NIFM (Network interface) service
68 Service_NS, ///< The NS services 78 Service_NS, ///< The NS services
69 Service_NVDRV, ///< The NVDRV (Nvidia driver) service 79 Service_NVDRV, ///< The NVDRV (Nvidia driver) service
80 Service_PCIE, ///< The PCIe service
70 Service_PCTL, ///< The PCTL (Parental control) service 81 Service_PCTL, ///< The PCTL (Parental control) service
82 Service_PCV, ///< The PCV service
71 Service_PREPO, ///< The PREPO (Play report) service 83 Service_PREPO, ///< The PREPO (Play report) service
84 Service_PSC, ///< The PSC service
72 Service_SET, ///< The SET (Settings) service 85 Service_SET, ///< The SET (Settings) service
73 Service_SM, ///< The SM (Service manager) service 86 Service_SM, ///< The SM (Service manager) service
74 Service_SPL, ///< The SPL service 87 Service_SPL, ///< The SPL service
75 Service_SSL, ///< The SSL service 88 Service_SSL, ///< The SSL service
76 Service_Time, ///< The time service 89 Service_Time, ///< The time service
90 Service_USB, ///< The USB (Universal Serial Bus) service
77 Service_VI, ///< The VI (Video interface) service 91 Service_VI, ///< The VI (Video interface) service
92 Service_WLAN, ///< The WLAN (Wireless local area network) service
78 HW, ///< Low-level hardware emulation 93 HW, ///< Low-level hardware emulation
79 HW_Memory, ///< Memory-map and address translation 94 HW_Memory, ///< Memory-map and address translation
80 HW_LCD, ///< LCD register emulation 95 HW_LCD, ///< LCD register emulation
@@ -89,6 +104,7 @@ enum class Class : ClassType {
89 Audio_DSP, ///< The HLE implementation of the DSP 104 Audio_DSP, ///< The HLE implementation of the DSP
90 Audio_Sink, ///< Emulator audio output backend 105 Audio_Sink, ///< Emulator audio output backend
91 Loader, ///< ROM loader 106 Loader, ///< ROM loader
107 Crypto, ///< Cryptographic engine/functions
92 Input, ///< Input emulation 108 Input, ///< Input emulation
93 Network, ///< Network emulation 109 Network, ///< Network emulation
94 WebService, ///< Interface to yuzu Web Services 110 WebService, ///< Interface to yuzu Web Services
diff --git a/src/common/logging/text_formatter.h b/src/common/logging/text_formatter.h
index c587faefb..9609cec7c 100644
--- a/src/common/logging/text_formatter.h
+++ b/src/common/logging/text_formatter.h
@@ -5,6 +5,7 @@
5#pragma once 5#pragma once
6 6
7#include <cstddef> 7#include <cstddef>
8#include <string>
8 9
9namespace Log { 10namespace Log {
10 11