From 715144a9e745586843c7c1233b4c45991012d8c6 Mon Sep 17 00:00:00 2001 From: Stein Ivar Berghei Date: Wed, 23 Nov 2022 23:31:31 +0100 Subject: [PATCH] Set some usefull debug flags --- bot.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bot.go b/bot.go index 5ad19dd..7e4bad3 100644 --- a/bot.go +++ b/bot.go @@ -33,8 +33,7 @@ var ( ) func init() { - log.SetOutput(os.Stdout) - log.SetFlags(log.Lshortfile) + log.SetFlags(log.Ltime | log.Lshortfile) log.Println("bot.go loading..") config.SetConfigName("config")