Skip to content

Commit

Permalink
添加代码注释
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy-boo committed Oct 22, 2020
1 parent d2ab126 commit 58a0df5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions middlerware/logger/const.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package logger

// Log constants, should be written in the configuration file.
const (
LogLevel = "debug"
FileName = "./log/debug.log"
Expand Down
1 change: 1 addition & 0 deletions middlerware/logger/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
"go.uber.org/zap/zapcore"
)

// Logger zap log
var Logger *zap.Logger

// InitLogger Initialization log
Expand Down

0 comments on commit 58a0df5

Please sign in to comment.