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 /telegram/client.go | |
parent | aaf7233c89af4dfbc2a8b9f5e11b4ff5e9713567 (diff) |
Set logging level for Logrus and TDlib from config
Diffstat (limited to 'telegram/client.go')
-rw-r--r-- | telegram/client.go | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/telegram/client.go b/telegram/client.go index b0cee44..3d361b6 100644 --- a/telegram/client.go +++ b/telegram/client.go @@ -12,13 +12,13 @@ import ( ) var logConstants = map[string]int32{ - "fatal": 0, - "error": 1, - "warn": 2, - "info": 3, - "debug": 4, - "verbose": 5, - "all": 1023, + ":fatal": 0, + ":error": 1, + ":warn": 2, + ":info": 3, + ":debug": 4, + ":verbose": 5, + ":all": 1023, } func stringToLogConstant(c string) int32 { |