Skip to content

use interface for Logger#326

Open
coryb wants to merge 1 commit intomutagen-io:masterfrom
coryb:logger-interface
Open

use interface for Logger#326
coryb wants to merge 1 commit intomutagen-io:masterfrom
coryb:logger-interface

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