refactor: Use interface for logger instead of private struct

This commit is contained in:
Felix Pojtinger
2022-01-01 23:12:32 +01:00
parent e5dd1e7d5a
commit f2b7b1ed60
4 changed files with 21 additions and 10 deletions
+11
View File
@@ -0,0 +1,11 @@
package logging
import (
golog "github.com/fclairamb/go-log"
)
type StructuredLogger interface {
golog.Logger
Trace(event string, keyvals ...interface{})
}