summaryrefslogtreecommitdiff
path: root/src/common/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/log.h')
-rw-r--r--src/common/log.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/log.h b/src/common/log.h
index 822cd21eb..14ad98c08 100644
--- a/src/common/log.h
+++ b/src/common/log.h
@@ -11,7 +11,7 @@
11enum { 11enum {
12 OS_LEVEL, // Printed by the emulated operating system 12 OS_LEVEL, // Printed by the emulated operating system
13 NOTICE_LEVEL, // VERY important information that is NOT errors. Like startup and OSReports. 13 NOTICE_LEVEL, // VERY important information that is NOT errors. Like startup and OSReports.
14 ERROR_LEVEL, // Critical errors 14 ERROR_LEVEL, // Critical errors
15 WARNING_LEVEL, // Something is suspicious. 15 WARNING_LEVEL, // Something is suspicious.
16 INFO_LEVEL, // General information. 16 INFO_LEVEL, // General information.
17 DEBUG_LEVEL, // Detailed debugging - might make things slow. 17 DEBUG_LEVEL, // Detailed debugging - might make things slow.
@@ -46,7 +46,7 @@ enum LOG_TYPE {
46 MEMMAP, 46 MEMMAP,
47 MEMCARD_MANAGER, 47 MEMCARD_MANAGER,
48 OSREPORT, 48 OSREPORT,
49 PAD, 49 PAD,
50 PROCESSORINTERFACE, 50 PROCESSORINTERFACE,
51 PIXELENGINE, 51 PIXELENGINE,
52 SERIALINTERFACE, 52 SERIALINTERFACE,
@@ -89,7 +89,7 @@ enum LOG_LEVELS {
89 89
90} // namespace 90} // namespace
91 91
92void GenericLog(LOGTYPES_LEVELS level, LOGTYPES_TYPE type, const char*file, int line, 92void GenericLog(LOGTYPES_LEVELS level, LOGTYPES_TYPE type, const char*file, int line,
93 const char* function, const char* fmt, ...) 93 const char* function, const char* fmt, ...)
94#ifdef __GNUC__ 94#ifdef __GNUC__
95 __attribute__((format(printf, 6, 7))) 95 __attribute__((format(printf, 6, 7)))