Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(BC Break) psr logger updates #284

Merged
merged 1 commit into from
Dec 8, 2016

Conversation

dwsupplee
Copy link
Contributor

Closes: #267

Messages logged through the PsrLogger now log as jsonPayload with a customizable key containing the message contents instead of as textPayload. Placeholders are supported and any additional info in the context array is to be logged as part of the jsonPayload. In order to support logging stackdriver specific data (such as labels) the stackdriverOptions key has been reserved.

Much thanks to @CaptainJojo for the original report.

@dwsupplee dwsupplee added the api: logging Issues related to the Cloud Logging API. label Dec 8, 2016
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Dec 8, 2016
@jdpedrie jdpedrie changed the title psr logger updates (BC Break) psr logger updates Dec 8, 2016
@dwsupplee dwsupplee merged commit b38e324 into googleapis:master Dec 8, 2016
@CaptainJojo
Copy link

Thanks

@jdpedrie jdpedrie mentioned this pull request Dec 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: logging Issues related to the Cloud 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.

4 participants