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 logging generic across backends and simplify logging code #200

Merged
merged 3 commits into from
Feb 18, 2025

Conversation

tazz4843
Copy link
Owner

Turns out we never hooked into GGML's logging backend. #196 requested this, and I figured I'd use this as a chance to clean up this code anyways. All logging code has been moved into whisper_rs::install_logging_hooks(), and it will log to neither, both, or one of log or tracing depending on which features are enabled. This is a possible footgun but the breaking changes here should limit its impact to be minimal since people should be reading the docs anyways.

@tazz4843
Copy link
Owner Author

Gonna go ahead and merge given there's been no complaints and it seems to work fine.

@tazz4843 tazz4843 merged commit dc0c631 into master Feb 18, 2025
26 checks passed
@tazz4843 tazz4843 deleted the update-logging branch February 24, 2025 18:34
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

Successfully merging this pull request may close these issues.

1 participant