Skip to content

Commit

Permalink
Log participation fields
Browse files Browse the repository at this point in the history
  • Loading branch information
gapidobri committed Aug 13, 2024
1 parent 7da0294 commit cc42544
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/service/game.go
Original file line number Diff line number Diff line change
@@ -96,6 +96,7 @@ func (s *GameService) GetGame(ctx context.Context, gameId string) (api.GetGameRe
func (s *GameService) Participate(ctx context.Context, participationMethodId string, roll api.ParticipationRequest) (*api.ParticipationResponse, error) {
logger := log.WithContext(ctx).WithFields(log.Fields{
"participationMethodId": participationMethodId,
"fields": roll.Fields,
})

logger.Info("New participation")

0 comments on commit cc42544

Please sign in to comment.