Skip to content

Commit

Permalink
Add logger interface
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-gregory-ovo committed Sep 28, 2022
1 parent baaa119 commit 7491f9e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions internal/types/types.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package types

// Logger is a subset of log.Logger to allow compatible loggers to be used with Sync.
type Logger interface {
Println(v ...any)
Printf(format string, v ...any)
}

0 comments on commit 7491f9e

Please sign in to comment.