1
0
mirror of https://github.com/labstack/echo.git synced 2024-12-24 20:14:31 +02:00

the logging interface add SetHeader method (#1092)

This commit is contained in:
Rsy 2018-09-29 01:47:23 +08:00 committed by Vishal Rana
parent f7470482fe
commit 036e6961ae

1
log.go
View File

@ -15,6 +15,7 @@ type (
SetPrefix(p string)
Level() log.Lvl
SetLevel(v log.Lvl)
SetHeader(h string)
Print(i ...interface{})
Printf(format string, args ...interface{})
Printj(j log.JSON)