mirror of
https://github.com/watn3y/steamsalty.git
synced 2025-09-09 09:42:22 +02:00
refactor: Standardized logging to be more uniform
This commit is contained in:
parent
99a81a201b
commit
38db97bdcf
8 changed files with 28 additions and 28 deletions
|
@ -11,8 +11,8 @@ func GetPlayerDetails(steamID uint64) (summary steamapi.PlayerSummary) {
|
|||
|
||||
response, err := steamapi.GetPlayerSummaries([]uint64{steamID}, config.BotConfig.SteamAPIKey)
|
||||
if err != nil {
|
||||
log.Error().Err(err).Msg("Failed to get Player Summary")
|
||||
log.Error().Err(err).Msg("Failed to retrive player summary")
|
||||
}
|
||||
log.Debug().Interface("Player", response[0]).Msg("Got PlayerSummary from Steam API")
|
||||
log.Debug().Interface("Player", response[0]).Msg("Retrived player summary from SteamAPI successfully")
|
||||
return response[0]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue