Skip to content

Commit

Permalink
fix CreateUtilZapLogger comment
Browse files Browse the repository at this point in the history
Signed-off-by: Colin <jay_jieliu@outlook.com>
  • Loading branch information
LLiuJJ committed Mar 1, 2024
1 parent 4ec87f3 commit d402b1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/pkg/logutil/zap.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func CreateDefaultZapLogger(level zapcore.Level) (*zap.Logger, error) {
return c, nil
}

// CreateDefaultZapLogger creates a logger with default zap configuration can redirect log to /dev/null
// CreateUtilZapLogger creates a logger with default zap configuration can redirect log to /dev/null
func CreateUtilZapLogger(level zapcore.Level) *zap.Logger {
infoLevel := zap.LevelEnablerFunc(func(level zapcore.Level) bool {
return level == zapcore.InfoLevel
Expand Down

0 comments on commit d402b1b

Please sign in to comment.