Clean up logging (#3161)

- use `Err` method instead of format strings
- use `Msg` if no format string is used
This commit is contained in:
qwerty287
2024-01-10 20:57:12 +01:00
committed by GitHub
parent 12c40eb957
commit 00df53e941
20 changed files with 47 additions and 47 deletions

View File

@@ -64,9 +64,9 @@ func setupStore(c *cli.Context) (store.Store, error) {
if driver == "sqlite3" {
if datastore.SupportedDriver("sqlite3") {
log.Debug().Msgf("server has sqlite3 support")
log.Debug().Msg("server has sqlite3 support")
} else {
log.Debug().Msgf("server was built without sqlite3 support!")
log.Debug().Msg("server was built without sqlite3 support!")
}
}