Skip to content

Commit 85a916c

Browse files
author
armin
committed
refactor: replace explicit log level constants with iota
1 parent 8ec2407 commit 85a916c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

kafka_exporter.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ const (
3737
)
3838

3939
const (
40-
INFO = 0
41-
DEBUG = 1
42-
TRACE = 2
40+
INFO = iota
41+
DEBUG
42+
TRACE
4343
)
4444

4545
var (

0 commit comments

Comments
 (0)