From 036e6961aebec9e95c29c16bb7b1df64ac5ac601 Mon Sep 17 00:00:00 2001 From: Rsy <3644570+dreamans@users.noreply.github.com> Date: Sat, 29 Sep 2018 01:47:23 +0800 Subject: [PATCH] the logging interface add SetHeader method (#1092) --- log.go | 1 + 1 file changed, 1 insertion(+) diff --git a/log.go b/log.go index b194c39c..3f8de590 100644 --- a/log.go +++ b/log.go @@ -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)