Skip to content

Commit

Permalink
add interface SetValueStringer
Browse files Browse the repository at this point in the history
  • Loading branch information
hedzr committed Oct 20, 2024
1 parent 2c24d1c commit 5b0809c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion slog/i.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ type (
ResetLevelWriter(lvl Level) *Entry
ResetLevelWriters() *Entry

WithValueStringer(vs ValueStringer) *Entry
SetValueStringer(vs ValueStringer) *Entry //
WithValueStringer(vs ValueStringer) *Entry //
}

// Entries collects many Entry objects as a map
Expand Down

0 comments on commit 5b0809c

Please sign in to comment.