added grpc-zerolog to the ignored files
Dieser Commit ist enthalten in:
Ursprung
6b625554a4
Commit
9e24469577
|
@ -117,7 +117,7 @@ func (w journalWriter) Write(p []byte) (n int, err error) {
|
||||||
var frames = runtime.CallersFrames(callers)
|
var frames = runtime.CallersFrames(callers)
|
||||||
var frame, next = frames.Next()
|
var frame, next = frames.Next()
|
||||||
for next {
|
for next {
|
||||||
if !strings.Contains(frame.File, "rs/zerolog") {
|
if !strings.Contains(frame.File, "github.com/rs/zerolog") && !strings.Contains(frame.File, "github.com/jwreagor/grpc-zerolog") {
|
||||||
args["CODE_FILE"] = frame.File
|
args["CODE_FILE"] = frame.File
|
||||||
args["CODE_LINE"] = fmt.Sprint(frame.Line)
|
args["CODE_LINE"] = fmt.Sprint(frame.Line)
|
||||||
args["CODE_FUNC"] = frame.Function
|
args["CODE_FUNC"] = frame.Function
|
||||||
|
|
Laden…
In neuem Issue referenzieren