mirror of
https://github.com/rs/zerolog
synced 2026-06-08 17:13:30 +00:00
6d6350a511
Breakage is due to this change in go 1.12: Tracebacks, runtime.Caller, and runtime.Callers no longer include compiler-generated initialization functions. Doing a traceback during the initialization of a global variable will now show a function named PKG.init.ializers. Fix #137
6 lines
74 B
Go
6 lines
74 B
Go
// +build !go1.12
|
|
|
|
package zerolog
|
|
|
|
const contextCallerSkipFrameCount = 3
|