Vendor sirupsen/logrus@1.3.0

Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
John Howard
2019-02-20 17:49:45 -08:00
parent 58dc0677b4
commit fd6ac5d026
22 changed files with 867 additions and 365 deletions

View File

@@ -24,6 +24,8 @@ func (entry *Entry) WriterLevel(level Level) *io.PipeWriter {
var printFunc func(args ...interface{})
switch level {
case TraceLevel:
printFunc = entry.Trace
case DebugLevel:
printFunc = entry.Debug
case InfoLevel: