Skip to content

Commit

Permalink
slogutil: imp code
Browse files Browse the repository at this point in the history
  • Loading branch information
Mizzick committed Oct 1, 2024
1 parent e9e5ef0 commit e1e6a7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logutil/slogutil/slogutil.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func newReplaceAttr(removeTime bool) func(groups []string, a slog.Attr) (res slo
}
}

// traceAttrValue is a value for [LevelTrace] slog attributes.
// traceAttrValue is a [LevelTrace] value under the [slog.LevelKey] key.
var traceAttrValue = slog.StringValue("TRACE")

// ReplaceLevel is a function for [slog.HandlerOptions.ReplaceAttr] that adds
Expand Down

0 comments on commit e1e6a7c

Please sign in to comment.