diff options
author | bodqhrohro <bodqhrohro@gmail.com> | 2019-11-05 03:09:07 +0300 |
---|---|---|
committer | bodqhrohro <bodqhrohro@gmail.com> | 2019-11-05 03:09:07 +0300 |
commit | 0f047c38168949b246223dc1b1154a6969753d2e (patch) | |
tree | 796066e609cf26c7a37c6fc3431668eea97c97da /telegabber.go | |
parent | aaf7233c89af4dfbc2a8b9f5e11b4ff5e9713567 (diff) |
Set logging level for Logrus and TDlib from config
Diffstat (limited to 'telegabber.go')
-rw-r--r-- | telegabber.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/telegabber.go b/telegabber.go index 6754038..8c098e1 100644 --- a/telegabber.go +++ b/telegabber.go @@ -19,6 +19,8 @@ func main() { log.Fatal(err) } + SetLogrusLevel(config.XMPP.Loglevel) + cm, err := xmpp.NewComponent(config.XMPP, config.Telegram) if err != nil { log.Fatal(err) |