Skip to content

Make it possible to extract fields from the context in the slog adapter #844

Make it possible to extract fields from the context in the slog adapter

Make it possible to extract fields from the context in the slog adapter #844

Re-run triggered December 12, 2023 03:36
Status Failure
Total duration 58s
Artifacts

go.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

14 errors
Lint
cannot range over h.contextFieldExtractors (variable of type ContextFieldExtractor)
Lint
first argument to append must be a slice; have log.contextFieldExtractors (variable of type ContextFieldExtractor)
Lint
undefined: WithContextFieldExtractor (typecheck)
Lint: exp/zapslog/example_test.go#L32
could not import go.uber.org/zap/exp/zapslog (-: # go.uber.org/zap/exp/zapslog [go.uber.org/zap/exp/zapslog.test]
Lint
cannot range over h.contextFieldExtractors (variable of type ContextFieldExtractor)
Lint
first argument to append must be a slice; have log.contextFieldExtractors (variable of type ContextFieldExtractor)
Lint
undefined: WithContextFieldExtractor) (typecheck)
Lint
Process completed with exit code 2.
build (1.21.x)
cannot range over h.contextFieldExtractors (variable of type ContextFieldExtractor)
build (1.21.x)
first argument to append must be a slice; have log.contextFieldExtractors (variable of type ContextFieldExtractor)
build (1.21.x)
undefined: WithContextFieldExtractor
build (1.21.x)
Process completed with exit code 2.
build (1.20.x)
The job was canceled because "_1_21_x" failed.
build (1.20.x)
The operation was canceled.