mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 21:07:59 +03:00
Support max log level for Recast via env variable
Do not write to log if log message level is greater than one speficied in the OPENMW_RECAST_MAX_LOG_LEVEL env variable. Use Error by default.
This commit is contained in:
parent
057c85b710
commit
51258662b5
13 changed files with 68 additions and 35 deletions
|
@ -36,6 +36,8 @@ namespace Debug
|
|||
|
||||
Level getDebugLevel();
|
||||
|
||||
Level getRecastMaxLogLevel();
|
||||
|
||||
// Redirect cout and cerr to the log file
|
||||
void setupLogging(const std::filesystem::path& logDir, std::string_view appName);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue