logger/slog: fixup race condition #292
@ -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