Set some usefull debug flags

nostruct
Stein Ivar Berghei 2022-11-23 23:31:31 +01:00
parent 0b255b518c
commit 715144a9e7
1 changed files with 1 additions and 2 deletions

3
bot.go
View File

@ -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")