fixup logger/slog
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
parent
1db017d966
commit
c2b97b0f20
@ -140,7 +140,7 @@ func (s *slogLogger) Fields(attrs ...interface{}) logger.Logger {
|
|||||||
|
|
||||||
handleOpt := &slog.HandlerOptions{
|
handleOpt := &slog.HandlerOptions{
|
||||||
ReplaceAttr: nl.renameAttr,
|
ReplaceAttr: nl.renameAttr,
|
||||||
Level: s.leveler,
|
Level: nl.leveler,
|
||||||
AddSource: true,
|
AddSource: true,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user