Skip to content

Commit 0e33c82

Browse files
committed
chore: tweak log
1 parent e38dcc2 commit 0e33c82

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

internal/state.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -766,7 +766,7 @@ func (s *State) getGridMatches(existingMatches []Match) []Match {
766766
}
767767

768768
tableDuration := time.Since(tableStart)
769-
slog.Info("tabledetection completed", "input_lines", inputLineCount, "duration_ms", tableDuration.Milliseconds(), "matches_count", len(gridMatches))
769+
slog.Info("tabledetection completed", "duration_ms", tableDuration.Milliseconds(), "input_lines", inputLineCount, "matches_count", len(gridMatches))
770770
return gridMatches
771771
}
772772

internal/text_processor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ func (s *StyledTextProcessor) Process(text string) ([]string, []Match, error) {
7373
}
7474

7575
colorDuration := time.Since(colorStart)
76-
slog.Info("colordetection completed", "input_length", inputLength, "duration_ms", colorDuration.Milliseconds(), "matches_count", len(styleMatches))
76+
slog.Info("colordetection completed", "duration_ms", colorDuration.Milliseconds(), "input_length", inputLength, "matches_count", len(styleMatches))
7777
return lines, styleMatches, nil
7878
}
7979

0 commit comments

Comments
 (0)