#335 caller skip count. #337
@ -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) {
|
return func(o *Options) {
|
||||||
o.CallerSkipCount += n
|
o.CallerSkipCount += n
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user