Skip to content

logging-{winston,bunyan}: accept serviceContext#2585

Merged
stephenplusplus merged 3 commits intogoogleapis:masterfrom
ofrobots:service-context
Sep 1, 2017
Merged

logging-{winston,bunyan}: accept serviceContext#2585
stephenplusplus merged 3 commits intogoogleapis:masterfrom
ofrobots:service-context

Conversation

@ofrobots
Copy link
Contributor

@ofrobots ofrobots commented Sep 1, 2017

Accept serviceContext option at instantiation time. This is added to
error logs to allow Stackdriver to pick-up errors and associate with
the provided service.

For full details see: https://cloud.google.com/error-reporting/docs/formatting-error-messages

Fixes: #2513

Accept serviceContext option at instantiation time. This is added to
error logs to allow Stackdriver to pick-up errors and associate with
the provided service.

For full details see: https://cloud.google.com/error-reporting/docs/formatting-error-messages

Fixes: googleapis#2513
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Sep 1, 2017
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 946f069 on ofrobots:service-context into 4292811 on GoogleCloudPlatform:master.

* as the service context. For more information see
* [this guide]{@link https://cloud.google.com/error-reporting/docs/formatting-error-messages}
* and the [official documentation]{@link https://cloud.google.com/error-reporting/reference/rest/v1beta1/ServiceContext}.
* @param {string} options.serviceContext.service

This comment was marked as spam.

This comment was marked as spam.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 85024f6 on ofrobots:service-context into 4292811 on GoogleCloudPlatform:master.

@stephenplusplus
Copy link
Contributor

@ofrobots
Copy link
Contributor Author

ofrobots commented Sep 1, 2017

Apologies. Fixed.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling ecd3935 on ofrobots:service-context into 4292811 on GoogleCloudPlatform:master.

@stephenplusplus stephenplusplus merged commit 11b76fe into googleapis:master Sep 1, 2017
@stephenplusplus
Copy link
Contributor

LG, thanks!

miguelvelezsa pushed a commit that referenced this pull request Jan 14, 2026
* logging-{winston,bunyan}: accept serviceContext

Accept serviceContext option at instantiation time. This is added to
error logs to allow Stackdriver to pick-up errors and associate with
the provided service.

For full details see: https://cloud.google.com/error-reporting/docs/formatting-error-messages

Fixes: #2513
GautamSharda pushed a commit that referenced this pull request Jan 14, 2026
* logging-{winston,bunyan}: accept serviceContext

Accept serviceContext option at instantiation time. This is added to
error logs to allow Stackdriver to pick-up errors and associate with
the provided service.

For full details see: https://cloud.google.com/error-reporting/docs/formatting-error-messages

Fixes: #2513
GautamSharda pushed a commit that referenced this pull request Jan 20, 2026
* logging-{winston,bunyan}: accept serviceContext

Accept serviceContext option at instantiation time. This is added to
error logs to allow Stackdriver to pick-up errors and associate with
the provided service.

For full details see: https://cloud.google.com/error-reporting/docs/formatting-error-messages

Fixes: #2513
GautamSharda pushed a commit that referenced this pull request Feb 3, 2026
* logging-{winston,bunyan}: accept serviceContext

Accept serviceContext option at instantiation time. This is added to
error logs to allow Stackdriver to pick-up errors and associate with
the provided service.

For full details see: https://cloud.google.com/error-reporting/docs/formatting-error-messages

Fixes: #2513
sofisl pushed a commit that referenced this pull request Feb 4, 2026
* logging-{winston,bunyan}: accept serviceContext

Accept serviceContext option at instantiation time. This is added to
error logs to allow Stackdriver to pick-up errors and associate with
the provided service.

For full details see: https://cloud.google.com/error-reporting/docs/formatting-error-messages

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

Labels

api: logging-bunyan api: logging-winston cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants