diff --git a/main.go b/main.go index 3f3c65c..2e13f98 100644 --- a/main.go +++ b/main.go @@ -4,13 +4,18 @@ import ( "flag" "go.balki.me/tss/app" + "go.balki.me/tss/db" "go.balki.me/tss/log" "go.balki.me/tss/schedule" + "go.balki.me/tss/telegram" ) func main() { logger := log.GetZapLogger() + + db.SetLogger(logger.WithName("db")) schedule.SetLogger(logger.WithName("schedule")) + telegram.SetLogger(logger.WithName("telegram")) app.SetLogger(logger.WithName("app")) var configPath string