fix caller skip count #112
@ -73,7 +73,7 @@ func (l *zeroLogger) Init(opts ...logger.Option) error {
|
||||
// RESET
|
||||
zerolog.TimeFieldFormat = time.RFC3339
|
||||
zerolog.ErrorStackMarshaler = nil
|
||||
zerolog.CallerSkipFrameCount = 4
|
||||
zerolog.CallerSkipFrameCount = l.opts.Options.CallerSkipCount
|
||||
|
||||
switch l.opts.Mode {
|
||||
case Development:
|
||||
|
Loading…
x
Reference in New Issue
Block a user