Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Contribute] External json file with log levels #4

Open
Insality opened this issue Feb 24, 2024 · 0 comments
Open

[Contribute] External json file with log levels #4

Insality opened this issue Feb 24, 2024 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@Insality
Copy link
Owner

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 Insality added the help wanted Extra attention is needed label Feb 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant