#335 change name options
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user