Use logrus imports instead of log (#662)

This commit is contained in:
Duco van Amstel
2018-12-26 15:16:09 +01:00
committed by Wim
parent 1b834c6858
commit da8e415ae1
10 changed files with 42 additions and 43 deletions

View File

@@ -1,10 +1,10 @@
package bridge
import (
"github.com/42wim/matterbridge/bridge/config"
log "github.com/sirupsen/logrus"
"strings"
"github.com/42wim/matterbridge/bridge/config"
"github.com/sirupsen/logrus"
)
type Bridger interface {
@@ -21,7 +21,7 @@ type Bridge struct {
Protocol string
Channels map[string]config.ChannelInfo
Joined map[string]bool
Log *log.Entry
Log *logrus.Entry
Config config.Config
General *config.Protocol
}
@@ -29,7 +29,7 @@ type Bridge struct {
type Config struct {
// General *config.Protocol
Remote chan config.Message
Log *log.Entry
Log *logrus.Entry
*Bridge
}