NovelRT
NovelRT copied to clipboard
Logging Service does not allow for setting log level on a global level
Basically, even when setting the logging info on a new logging service instance, it only sets the logging level of the logger that is created. Therefore, you can't effectively disable debug logs on a debug build - it'll only disable (atm) if you build the engine in Release configuration.
Repro Steps:
- Build NovelRT in Debug
- Build InputEcsSamples in Debug
- Launch InputEcsSamples (Review Console Output)
- Build NovelRT and InputEcsSamples in Release
- Re-run InputEcsSamples (Review Console Output again)
I would expect that even in Debug mode, the logging would respect the setting defined in the application's main.cpp
(or wherever the setLogLevel
function is being called.