add logging color flag and change default values #1

Merged
adoralaura merged 6 commits from feature-disable-colored-logging into main 2024-11-07 14:38:00 +01:00
Showing only changes of commit 58723ed640 - Show all commits

View file

@ -7,16 +7,17 @@
package app
import (
"encoding/json"
"fmt"
"io"
"net/url"
"codeberg.org/lauralani/humble-bot/constants"
"codeberg.org/lauralani/humble-bot/db"
"codeberg.org/lauralani/humble-bot/misc"
"codeberg.org/lauralani/humble-bot/models"
"encoding/json"
"fmt"
"github.com/PuerkitoBio/goquery"
"github.com/rs/zerolog/log"
"io"
"net/url"
)
func UpdateBundles() {
@ -63,6 +64,8 @@ func UpdateBundles() {
Msgf("Error handling humble bundle: %v", err)
}
}
log.Info().Int("bundles", len(bundles)).Msg("finished queueing " + category + " bundles")
})
log.Debug().Str("category", category).Msg("finished bundle update")
}