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

Use a Config struct to set LogLevel #1

Open
hgzimmerman opened this issue Jul 6, 2018 · 0 comments
Open

Use a Config struct to set LogLevel #1

hgzimmerman opened this issue Jul 6, 2018 · 0 comments

Comments

@hgzimmerman
Copy link
Member

The WebLogger currently defaults to a Trace log level. I would like to avoid having Yew-framework-specific information printed to the console by specifying an Info log level. I think the typical way this is accomplished is by passing a Config struct to the init() function that allows specification of log level, as well as other features like formatting of the log messages.

I'll see if I can get something working in a day or two.

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