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

Add a helper function to initialize loggers with default config #119

Open
Shatur opened this issue Mar 1, 2023 · 1 comment
Open

Add a helper function to initialize loggers with default config #119

Shatur opened this issue Mar 1, 2023 · 1 comment

Comments

@Shatur
Copy link

Shatur commented Mar 1, 2023

I found it's a bit annoying to initialize tests like this:

TestLogger::init(LevelFilter::Warn, Config::default())

I would suggest to add function init_default to simplify the initialization.

@Drakulix
Copy link
Owner

Drakulix commented Mar 2, 2023

Feel free to open a PR.

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

2 participants