Skip to content

Commit

Permalink
améliore les logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Raphaël Squelbut committed Jan 22, 2024
1 parent d1b8ef3 commit dc08ce9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/marshal/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ func parseTuplesFromLine(lineResult ParsedLineResult, filter *SirenFilter, track
// LogProgress affiche le numéro de ligne en cours de parsing, toutes les 2s.
func LogProgress(lineNumber *int) (stop context.CancelFunc) {
return base.Cron(time.Second*2, func() {
slog.Info("Reading csv line", slog.Int("line", *lineNumber))
slog.Debug("Reading csv line", slog.Int("line", *lineNumber))
})
}

Expand Down

0 comments on commit dc08ce9

Please sign in to comment.