modify logger -> log

This commit is contained in:
yanghao05
2023-01-30 11:26:20 +08:00
parent f2c893709d
commit 3ab579fed7
10 changed files with 14 additions and 200 deletions

View File

@@ -2,13 +2,11 @@ package log
import (
"atom/providers/config"
"log"
"go.uber.org/zap"
)
func NewZapLogger(conf *config.Config) (*Logger, error) {
log.Print("init logger")
logger, err := zap.NewDevelopment()
if err != nil {
return nil, err