diff --git a/logger.go b/logger.go index 0a0b47e..dbae419 100644 --- a/logger.go +++ b/logger.go @@ -6,7 +6,7 @@ import ( var log *zap.Logger -func init() { +func InitZap() { log = NewLogger() }