#335 change name options
Some checks failed
Go / test (pull_request) Has been cancelled
lint / lint (pull_request) Has been cancelled
pr / test (pull_request) Has been cancelled

This commit is contained in:
Gorbunov Kirill Andreevich 2024-04-15 13:21:43 +03:00
parent b0879be9f6
commit d5fdbefa49

View File

@ -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 { return func(src interface{}) error {
c, err := options.Get(src, ".CallerSkipCount") c, err := options.Get(src, ".CallerSkipCount")
if err != nil { if err != nil {