We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f80c92d commit d992594Copy full SHA for d992594
1 file changed
logger/logger_zap.go
@@ -11,7 +11,7 @@ type ZapLogger struct {
11
}
12
13
// NewZapLogger creates a new ZapLogger for web server use
14
-func NewZapLogger() (Logger, error) {
+func NewZapLogger() (*ZapLogger, error) {
15
config := zap.NewProductionConfig()
16
config.EncoderConfig.TimeKey = "timestamp"
17
config.EncoderConfig.EncodeTime = zapcore.ISO8601TimeEncoder
0 commit comments