Merge pull request 'fix caller skip count' (#112) from skip into master
Reviewed-on: #112
This commit is contained in:
commit
e2df7bc8ff
@ -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