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

set logger type (sync/async) failed with exception #81

Open
zifengyu opened this issue May 10, 2023 · 0 comments
Open

set logger type (sync/async) failed with exception #81

zifengyu opened this issue May 10, 2023 · 0 comments

Comments

@zifengyu
Copy link

zifengyu commented May 10, 2023

setup below logger with async type failed with exception. Possibly because we create a static logger inited before global SYNC_MAP (which is empty according to debugger)

[[logger]]
name = "root"
sinks = ["console"]
level = "debug"
type = "async"
image
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