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

use interface for Logger #326

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

coryb
Copy link

@coryb coryb commented Feb 23, 2022

What does this pull request do and why is it needed?

This allows for custom logging implementations instead of requiring
usage of the global logger from the log package.

Any other notes for the review process?

I have set the Logger interface to match exactly what the old *logging.Logger implementation had. There are several functions that are not actually used currently in the codebase, for example, none of the format loggers (ie Debugf) are currently in use.

This allows for custom logging implementations instead of requiring
usage of the global logger from the `log` package.

Signed-off-by: coryb <cbennett@netflix.com>
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