diff options
author | Duco van Amstel <helcaraxan@gmail.com> | 2018-11-18 00:28:29 +0000 |
---|---|---|
committer | Duco van Amstel <helcaraxan@gmail.com> | 2018-11-18 01:10:15 +0000 |
commit | 692bb8faa7c4000953b0622a77126193f8fd0383 (patch) | |
tree | b0966b9aa86eb8d02d423221bed21893959de4eb /vendor/github.com/sirupsen/logrus/writer.go | |
parent | 455a0fc2394ea52955ed386663ded9a9dceab83f (diff) | |
download | matterbridge-msglm-692bb8faa7c4000953b0622a77126193f8fd0383.tar.gz matterbridge-msglm-692bb8faa7c4000953b0622a77126193f8fd0383.tar.bz2 matterbridge-msglm-692bb8faa7c4000953b0622a77126193f8fd0383.zip |
Upgrade logrus / testify to stable versions
Diffstat (limited to 'vendor/github.com/sirupsen/logrus/writer.go')
-rw-r--r-- | vendor/github.com/sirupsen/logrus/writer.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vendor/github.com/sirupsen/logrus/writer.go b/vendor/github.com/sirupsen/logrus/writer.go index 7bdebedc..9e1f7513 100644 --- a/vendor/github.com/sirupsen/logrus/writer.go +++ b/vendor/github.com/sirupsen/logrus/writer.go @@ -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: |