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

Allow overiding of Warn and Deprecated loggers #952

Merged
merged 1 commit into from
Apr 2, 2024

Conversation

thomasvn
Copy link
Contributor

@thomasvn thomasvn commented Jan 31, 2024

Currently, internal.Warn.Printf() and internal.Deprecate.Printf() have numerous calls but no way of overriding them with your own logger.

Signed-off-by: thomasvn <thomasnguyen96@gmail.com>
@thomasvn
Copy link
Contributor Author

@vmihailenco Any thoughts on this?

@vmihailenco vmihailenco merged commit 0e9d737 into uptrace:master Apr 2, 2024
2 of 3 checks passed
@vmihailenco
Copy link
Member

We probably want to start using Slog, but this will do for now. Thanks!

@thomasvn
Copy link
Contributor Author

thomasvn commented Apr 2, 2024

Agree, thanks for the review!

@thomasvn thomasvn deleted the thomasvn/adjust-logger branch April 2, 2024 15:51
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.

2 participants