Skip to content

Commit bd89c7d

Browse files
committed
Unexported logger interface
1 parent 8bed575 commit bd89c7d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

log.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const (
1919
LogError
2020
)
2121

22-
type Logger interface {
22+
type logger interface {
2323
createLogPoint(log logPoint)
2424
}
2525

@@ -44,7 +44,7 @@ type Config struct {
4444
// Will print error level to StdErr
4545
// UseStdErr is ignored if Output != os.Stdout
4646
UseStdErr bool
47-
logger Logger
47+
logger logger
4848
levelPadding int
4949
}
5050

0 commit comments

Comments
 (0)