summary refs log tree commit diff
path: root/vendor/github.com/rs/zerolog/go112.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/rs/zerolog/go112.go')
-rw-r--r--vendor/github.com/rs/zerolog/go112.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/vendor/github.com/rs/zerolog/go112.go b/vendor/github.com/rs/zerolog/go112.go
new file mode 100644
index 0000000..e7b5a1b
--- /dev/null
+++ b/vendor/github.com/rs/zerolog/go112.go
@@ -0,0 +1,7 @@
+// +build go1.12
+
+package zerolog
+
+// Since go 1.12, some auto generated init functions are hidden from
+// runtime.Caller.
+const contextCallerSkipFrameCount = 2