#335 caller skip count. #337

Merged
vtolstov merged 3 commits from :#335-v3 into v3 2024-04-15 13:30:49 +03:00
Showing only changes of commit e8f48f2099 - Show all commits

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
}