Skip to content

Commit

Permalink
Fix string slice definition for FormatFlagOptions. (#607)
Browse files Browse the repository at this point in the history
Signed-off-by: Brad Cowie <brad@faucet.nz>
  • Loading branch information
gizmoguy committed Mar 21, 2024
1 parent e7f4912 commit b0624a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion promlog/log.go
Expand Up @@ -36,7 +36,7 @@ var (
)

LevelFlagOptions = []string{"debug", "info", "warn", "error"}
FormatFlagOptions = []string{"logfmt, json"}
FormatFlagOptions = []string{"logfmt", "json"}
)

// AllowedLevel is a settable identifier for the minimum level a log entry
Expand Down

0 comments on commit b0624a8

Please sign in to comment.