Skip to content

Commit

Permalink
update filed types
Browse files Browse the repository at this point in the history
  • Loading branch information
nozo-moto committed Sep 18, 2023
1 parent 1598b95 commit 556c210
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions withstack/withstack.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ func (w *withStack) LogValue() slog.Value {
name = fn.Name()
attrs = append(attrs, slog.Group(
name,
slog.Any("file", file),
slog.Any("name", name),
slog.Any("line", line),
slog.String("file", file),
slog.String("name", name),
slog.Int("line", line),
))
}
return attrs
Expand Down

0 comments on commit 556c210

Please sign in to comment.