fix caller skip count #112

Merged
vtolstov merged 1 commits from skip into master 2023-08-01 09:27:40 +03:00

View File

@ -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: