From 19cd5176ff50461c757f0ac3df278c9f94ab891a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=92=D0=B0=D1=81=D0=B8=D0=BB=D0=B8=D0=B9=20=D0=A2=D0=BE?= =?UTF-8?q?=D0=BB=D1=81=D1=82=D0=BE=D0=B2?= Date: Wed, 20 Mar 2024 12:52:33 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20zerolog.go?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zerolog.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zerolog.go b/zerolog.go index 29a5bc6..9622a16 100644 --- a/zerolog.go +++ b/zerolog.go @@ -25,6 +25,10 @@ type zeroLogger struct { opts Options } +func (l *zeroLogger) Name() string { + return l.opts.Name +} + func (l *zeroLogger) Level(lvl logger.Level) { }