diff --git a/utils/logging.go b/utils/logging.go index c0c83e5..fb4c5dc 100644 --- a/utils/logging.go +++ b/utils/logging.go @@ -4,6 +4,23 @@ import ( "go.uber.org/zap" ) +type LoggerInterface interface { + Debug(args ...interface{}) + Info(args ...interface{}) + Warn(args ...interface{}) + Error(args ...interface{}) + Panic(args ...interface{}) + Fatal(args ...interface{}) + Debugf(template string, args ...interface{}) + Infof(template string, args ...interface{}) + Warnf(template string, args ...interface{}) + Errorf(template string, args ...interface{}) + Panicf(template string, args ...interface{}) + Fatalf(template string, args ...interface{}) + With(args ...interface{}) *Logger + Sync() error +} + type Logger struct { *zap.SugaredLogger }