Add a function to get debug level

This commit is contained in:
elsid 2024-06-15 13:08:13 +02:00
parent 0749cc4dac
commit c83acac32c
No known key found for this signature in database
GPG key ID: 4DE04C198CBA7625
2 changed files with 24 additions and 29 deletions

View file

@ -34,6 +34,8 @@ namespace Debug
Misc::Locked<std::ostream&> getLockedRawStderr();
Level getDebugLevel();
// Redirect cout and cerr to the log file
void setupLogging(const std::filesystem::path& logDir, std::string_view appName);