Added TRACE level logging.

This commit is contained in:
drampull
2017-10-20 08:40:54 -04:00
committed by Loren Osborn
parent 680f584d62
commit 4981d8161c
10 changed files with 81 additions and 3 deletions
+2
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: