Skip to content

observation: add Logger.AddCallerSkip

Administrator requested to merge observation-caller-skip into main

Created by: bobheadxi

Adds a caller skip to TraceLogger.Log, which calls the logger on behalf of the caller of Log, and similarly with emitErrorLogs. Also makes some tweaks to ensure emitErrorLogs is logged with the trace context.

Test plan

sg start

image

main-dry-run: https://buildkite.com/sourcegraph/sourcegraph/builds/144671

Merge request reports

Loading