fix caller skip count
Some checks failed
autoapprove / autoapprove (pull_request) Failing after 1m26s
automerge / automerge (pull_request) Failing after 4s
codeql / analyze (go) (pull_request) Failing after 3m14s
dependabot-automerge / automerge (pull_request) Has been skipped
prbuild / test (pull_request) Failing after 1m28s
prbuild / lint (pull_request) Failing after 2m34s
Some checks failed
autoapprove / autoapprove (pull_request) Failing after 1m26s
automerge / automerge (pull_request) Failing after 4s
codeql / analyze (go) (pull_request) Failing after 3m14s
dependabot-automerge / automerge (pull_request) Has been skipped
prbuild / test (pull_request) Failing after 1m28s
prbuild / lint (pull_request) Failing after 2m34s
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
parent
a269ede9df
commit
3c281e11c6
@ -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