Skip to content

Commit 036e696

Browse files
dreamansvishr
authored andcommitted
the logging interface add SetHeader method (#1092)
1 parent f747048 commit 036e696

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

log.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ type (
1515
SetPrefix(p string)
1616
Level() log.Lvl
1717
SetLevel(v log.Lvl)
18+
SetHeader(h string)
1819
Print(i ...interface{})
1920
Printf(format string, args ...interface{})
2021
Printj(j log.JSON)

0 commit comments

Comments
 (0)