Skip to content

Commit 3ab0145

Browse files
committed
lint fix: unexport debugLevelField
1 parent 92a24d3 commit 3ab0145

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

field.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ var (
3636
_minTimeInt64 = time.Unix(0, math.MinInt64)
3737
_maxTimeInt64 = time.Unix(0, math.MaxInt64)
3838

39-
DebugLevelField = zapcore.DebugLevel
39+
debugLevelField = zapcore.DebugLevel
4040
)
4141

4242
// DebugField wraps a field so that DebugLevel log displays it.
4343
// See https://github.com/uber-go/zap/issues/1078 for motivation.
4444
func DebugField(f Field) Field {
45-
f.Level = &DebugLevelField
45+
f.Level = &debugLevelField
4646
return f
4747
}
4848

0 commit comments

Comments
 (0)