mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 22:09:19 -07:00
08f28b5351
It didn't really made sense to disable 2 logs levels in releases builds while the level LDEBUG should really be where logs that would impact performance be. Info should be logs that report potentially usefull information and debug should report info that would only be usefull in debug context as they are called very often. To make this work, a lot of info log would have to be made debug log. It also avoid inaccurate logs level done due to not using debug builds. While searching through the code, I saw a ton of logs that should have been info log, likely done to avoid using a debug build (which shouldn't happen considering the level debug exists anyway). The whole idea is to have more meaningful logs in release builds while maintaining minimal performance loss from choosing the highest level. This could potentially help to diagnose issues or to know more about what the emulator is actually doing. The next commit aims to sort the log levels for this purpose. |
||
---|---|---|
.. | ||
ConsoleListener.h | ||
ConsoleListenerDroid.cpp | ||
ConsoleListenerNix.cpp | ||
ConsoleListenerWin.cpp | ||
Log.h | ||
LogManager.cpp | ||
LogManager.h |