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