summaryrefslogtreecommitdiffstats
path: root/bridge/sshchat
diff options
context:
space:
mode:
authorDuco van Amstel <duco.vanamstel@gmail.com>2018-12-26 15:16:09 +0100
committerWim <wim@42.be>2018-12-26 15:16:09 +0100
commitda8e415ae1fb899df4fb05a8a81934e205fb4765 (patch)
treefca9a1b2b26c9971cf0e21e8e53ac8014cd77ccf /bridge/sshchat
parent1b834c6858d6fdb8927f6a75fad2116d6d2bd394 (diff)
downloadmatterbridge-msglm-da8e415ae1fb899df4fb05a8a81934e205fb4765.tar.gz
matterbridge-msglm-da8e415ae1fb899df4fb05a8a81934e205fb4765.tar.bz2
matterbridge-msglm-da8e415ae1fb899df4fb05a8a81934e205fb4765.zip
Use logrus imports instead of log (#662)
Diffstat (limited to 'bridge/sshchat')
-rw-r--r--bridge/sshchat/sshchat.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/bridge/sshchat/sshchat.go b/bridge/sshchat/sshchat.go
index fc3145e6..ca427a81 100644
--- a/bridge/sshchat/sshchat.go
+++ b/bridge/sshchat/sshchat.go
@@ -9,7 +9,7 @@ import (
"github.com/42wim/matterbridge/bridge/config"
"github.com/42wim/matterbridge/bridge/helper"
"github.com/shazow/ssh-chat/sshd"
- log "github.com/sirupsen/logrus"
+ "github.com/sirupsen/logrus"
)
type Bsshchat struct {
@@ -131,7 +131,7 @@ func (b *Bsshchat) handleSSHChat() error {
res := strings.Split(stripPrompt(b.r.Text()), ":")
if res[0] == "-> Set theme" {
wait = false
- log.Debugf("mono found, allowing")
+ logrus.Debugf("mono found, allowing")
continue
}
if !wait {