#335 caller skip count. #337

Merged
vtolstov merged 3 commits from kgorbunov/micro:#335-v3 into v3 2024-04-15 13:30:49 +03:00

View File

@ -182,3 +182,10 @@ func WithMicroKeys() Option {
o.ErrorKey = "error"
}
}
// WithAddCallerSkipCount add skip count for copy logger
func WithAddCallerSkipCount(n int) Option {
return func(o *Options) {
o.CallerSkipCount += n
}
}