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

Chewing C API should not override rust logger if another logger is already set #643

Open
kanru opened this issue Sep 11, 2024 · 0 comments
Labels
Milestone

Comments

@kanru
Copy link
Member

kanru commented Sep 11, 2024

Is your feature request related to a problem? Please describe.

Currently we always override the logger to ChewingLogger, and underlying logger env_logger.
On Windows we might want to override this to win_dbg_logger from C++ but we can't.

Describe the solution you'd like

Detect if another logger is already set, then don't override it.

@kanru kanru added the feature label Sep 11, 2024
@kanru kanru added this to the v0.10.0 milestone Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant