Skip to content
This repository was archived by the owner on Feb 6, 2026. It is now read-only.

feat: add population of the SourceLocation from context#721

Merged
minherz merged 2 commits intomainfrom
minherz/fix-686
Oct 22, 2021
Merged

feat: add population of the SourceLocation from context#721
minherz merged 2 commits intomainfrom
minherz/fix-686

Conversation

@minherz
Copy link
Contributor

@minherz minherz commented Oct 21, 2021

Instantiates a new object of the SourceLocation class from the current context by using the current thread's stack trace.
Add relevant unit testing methods to verify the behavior.

Fixes #686

@minherz minherz requested review from a team October 21, 2021 19:18
@product-auto-label product-auto-label bot added the api: logging Issues related to the googleapis/java-logging API. label Oct 21, 2021
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Oct 21, 2021
@minherz minherz merged commit 1fa3a6e into main Oct 22, 2021
@minherz minherz deleted the minherz/fix-686 branch October 22, 2021 06:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: logging Issues related to the googleapis/java-logging API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

structured logging: add source location discovery

3 participants