#335 caller skip count. #338
@ -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 {
|
||||
c, err := options.Get(src, ".CallerSkipCount")
|
||||
if err != nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user