fixup logger/slog

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
Василий Толстов 2024-02-15 10:01:41 +03:00
parent 1db017d966
commit c2b97b0f20

View File

@ -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,
} }