Skip to content

log: support logging source code file and line#1105

Open
mrogala-sauce wants to merge 1 commit into
saucelabs:mainfrom
mrogala-sauce:log-source-line
Open

log: support logging source code file and line#1105
mrogala-sauce wants to merge 1 commit into
saucelabs:mainfrom
mrogala-sauce:log-source-line

Conversation

@mrogala-sauce

Copy link
Copy Markdown
Contributor

Add switch log-add-source-line to enable logging source code file and line number for development/debugging purposes.

example:

time=2025-10-13T16:27:47.544+02:00 level=INFO source=github.com/saucelabs/forwarder/http_proxy.go:312 msg="no upstream proxy specified" module=proxy

cc: @markamsauce

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant