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

Replace *log.Logger with interface #143

Open
florianl opened this issue Mar 16, 2024 · 0 comments
Open

Replace *log.Logger with interface #143

florianl opened this issue Mar 16, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@florianl
Copy link
Owner

Currently, *log.Logger is used to print internals of the package.

go-tc/types.go

Lines 31 to 32 in 664c554

// Interface to log internals
Logger *log.Logger

Replace *log.Logger with an interface so that other loggers, like log/slog, go.uber.org or github.com/sirupsen/logrus, can satisfy this interface.

@florianl florianl added the enhancement New feature or request label Mar 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant