set debug level for log output

This commit is contained in:
Andriy Cherniy 2024-01-05 01:06:35 +02:00
parent 32f70f43ef
commit 09f966ee11

View file

@ -56,6 +56,7 @@ func main() {
ctx := context.Background() ctx := context.Background()
err := godotenv.Load() err := godotenv.Load()
ROOM_ID := os.Getenv("MATRIX_ROOM_ID") ROOM_ID := os.Getenv("MATRIX_ROOM_ID")
log.SetLevel(log.DebugLevel)
if err != nil { if err != nil {
log.Fatal(err) log.Fatal(err)