From d5fdbefa49454b60609e34635da0187f08caa181 Mon Sep 17 00:00:00 2001 From: Gorbunov Kirill Andreevich Date: Mon, 15 Apr 2024 13:21:43 +0300 Subject: [PATCH] #335 change name options --- logger/options.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/logger/options.go b/logger/options.go index 5ad9145f..d3748749 100644 --- a/logger/options.go +++ b/logger/options.go @@ -214,7 +214,8 @@ func WithMicroKeys() options.Option { } } -func WithIncCallerSkipCount(n int) options.Option { +// WithAddCallerSkipCount add skip count for copy logger +func WithAddCallerSkipCount(n int) options.Option { return func(src interface{}) error { c, err := options.Get(src, ".CallerSkipCount") if err != nil {