mirror of
https://github.com/labstack/echo.git
synced 2024-11-24 08:22:21 +02:00
the logging interface add SetHeader method (#1092)
This commit is contained in:
parent
f7470482fe
commit
036e6961ae
1
log.go
1
log.go
@ -15,6 +15,7 @@ type (
|
|||||||
SetPrefix(p string)
|
SetPrefix(p string)
|
||||||
Level() log.Lvl
|
Level() log.Lvl
|
||||||
SetLevel(v log.Lvl)
|
SetLevel(v log.Lvl)
|
||||||
|
SetHeader(h string)
|
||||||
Print(i ...interface{})
|
Print(i ...interface{})
|
||||||
Printf(format string, args ...interface{})
|
Printf(format string, args ...interface{})
|
||||||
Printj(j log.JSON)
|
Printj(j log.JSON)
|
||||||
|
Loading…
Reference in New Issue
Block a user