defold-log
defold-log copied to clipboard
[Contribute] External json file with log levels
Add a path to game.project to JSON file with content
{
"logger_name": "FATAL",
"game.project": "TRACE",
"gui.*": "WARN", // Probably we can use * to mask several characters?
}
On start if this file loaded, this log levels should be used as LEVEL for this logger. DEBUG_FORCE_LEVEL should have more priority. File should be loaded before first logger created