Skip to content

Commit

Permalink
Log config
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelreiswildlife committed Sep 20, 2023
1 parent 22baf85 commit 017b5c2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions leaderboard/enriching/enricher.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ type enricherImpl struct {

// NewEnricher returns a new Enricher implementation.
func NewEnricher(config EnrichmentConfig, logger *zap.Logger) Enricher {
b, _ := json.Marshal(config)
logger.Info(fmt.Sprintf("enrichment config: %s", string(b)))

return &enricherImpl{
config: config,
logger: logger,
Expand Down

0 comments on commit 017b5c2

Please sign in to comment.