defold-log icon indicating copy to clipboard operation
defold-log copied to clipboard

[Contribute] External json file with log levels

Open Insality opened this issue 1 year ago • 0 comments

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

Insality avatar Feb 24 '24 11:02 Insality