Skip to content

Commit

Permalink
Updated go doc to make it clear InferLevelsWithTimestamp relies on In…
Browse files Browse the repository at this point in the history
…ferLevels being true
  • Loading branch information
Peter Wilson committed Nov 27, 2023
1 parent f7ed9e4 commit 370a023
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ type StandardLoggerOptions struct {
// [DEBUG] and strip it off before reapplying it.
// The timestamp detection may result in false positives and incomplete
// string outputs.
// InferLevelsWithTimestamp is only relevant if InferLevels is true.
InferLevelsWithTimestamp bool

// ForceLevel is used to force all output from the standard logger to be at
Expand Down

0 comments on commit 370a023

Please sign in to comment.