mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
an attempt to clean up the logging a bit
1) The new ERROR, WARN, INFO, DEBUG _LOG macros were used ERROR, // Bad errors - that still don't deserve a PanicAlert. WARNING, // Something is suspicious. INFO, // General information. DEBUG, // Strictly for detailed debugging - might make things slow. 2) Made all LOG macro use into some of the logging level supporting macros LOG is commented out on linux can someone try it on windows? (it's in Log.h) 3) Added ERROR_lOG next to each panic alert I hope I helped making the logs a bit more useful/readble git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2510 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -108,9 +108,9 @@ void HandleGLError();
|
||||
|
||||
|
||||
#ifdef _WIN32
|
||||
#define PRIM_LOG(...) {LOG(VIDEO, __VA_ARGS__)}
|
||||
#define PRIM_LOG(...) {DEBUG_LOG(VIDEO, __VA_ARGS__)}
|
||||
#else
|
||||
#define PRIM_LOG(...) {LOG(VIDEO, ##__VA_ARGS__)}
|
||||
#define PRIM_LOG(...) {DEBUG_LOG(VIDEO, ##__VA_ARGS__)}
|
||||
#endif
|
||||
|
||||
#ifdef LOGGING
|
||||
|
Reference in New Issue
Block a user