Skip to content
This repository was archived by the owner on Apr 3, 2024. It is now read-only.
This repository was archived by the owner on Apr 3, 2024. It is now read-only.

Make log function customizable #458

@kilianc

Description

@kilianc

Hello 👋🏼

In some cases (multi-cloud deployments) logs are aggregated through a 3rd party service or they need to go through a client library to be streamed.

It would be nice to replace logpoint() with something at configuration time like this:

require('@google-cloud/debug-agent').start({
  logFunction: (message) => myRemoteLogger.debug({ txt: message, foo: 'bar' })
})

Metadata

Metadata

Assignees

Labels

api: clouddebuggerIssues related to the googleapis/cloud-debug-nodejs API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions