#335 change name options
Some checks failed
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:24:20 +03:00
parent e82e793525
commit e8f48f2099

View File

@ -183,7 +183,8 @@ func WithMicroKeys() Option {
}
}
func WithIncCallerSkipCount(n int) Option {
// WithAddCallerSkipCount add skip count for copy logger
func WithAddCallerSkipCount(n int) Option {
return func(o *Options) {
o.CallerSkipCount += n
}