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

Make the Logger configurable via a .cfg file #4

Open
akien-mga opened this issue Aug 3, 2016 · 0 comments
Open

Make the Logger configurable via a .cfg file #4

akien-mga opened this issue Aug 3, 2016 · 0 comments

Comments

@akien-mga
Copy link
Member

Right now everything can be configured, but would have to be done in the _init, _enter_tree or _ready of the main scene.

The singleton should have a mechanism to save and load its configuration (default parameters, defined modules and their parameters).

This could likely be done by appending the project's engine.cfg with a logger section, or maybe using an own logger.cfg file. I'm not sure how saving the settings should be handled though, as these settings would typically be overridden at runtime, and then saving them would imply that they're saved in user://. So that doesn't prevent the developer from having to define everything manually at least once somewhere.

Thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant