diff --git a/logger/options.go b/logger/options.go index 5ad9145f..d3748749 100644 --- a/logger/options.go +++ b/logger/options.go @@ -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 {