diff --git a/app/app.go b/app/app.go index e5eda35..d0a5abd 100644 --- a/app/app.go +++ b/app/app.go @@ -16,8 +16,8 @@ import ( var log = logr.Discard() -func SetLogger(log logr.Logger) { - log = log +func SetLogger(l logr.Logger) { + log = l } func Run(configPath string) error { diff --git a/db/db.go b/db/db.go index 7d05550..55b80ba 100644 --- a/db/db.go +++ b/db/db.go @@ -15,8 +15,8 @@ import ( var log = logr.Discard() -func SetLogger(log logr.Logger) { - log = log +func SetLogger(l logr.Logger) { + log = l } type Status string diff --git a/schedule/schedule.go b/schedule/schedule.go index baa58e4..0b85b48 100644 --- a/schedule/schedule.go +++ b/schedule/schedule.go @@ -14,8 +14,8 @@ import ( var log = logr.Discard() -func SetLogger(log logr.Logger) { - log = log +func SetLogger(l logr.Logger) { + log = l } type Scheduler interface { diff --git a/telegram/telegram.go b/telegram/telegram.go index e280b3f..8c84341 100644 --- a/telegram/telegram.go +++ b/telegram/telegram.go @@ -16,8 +16,8 @@ import ( var log = logr.Discard() -func SetLogger(log logr.Logger) { - log = log +func SetLogger(l logr.Logger) { + log = l } type TelegramSender interface {