Skip to content

automatic batching interface for cloud logging client #1296

@faithseed

Description

@faithseed

The logging API support batching mode manually, where you can put multiple entry in the log.write()

log.write([entry, secondEntry]);

Is that possible to implement an batching interface to support this automatically?

for example:

log.add(entry);
...
log.add(another_entry);

In the background, logging client does periodic flush internally sending all buffered logs to cloud logging automatically. The flush is triggered when enough entries are buffered and/or at a fixed interval.

This would make the API better performance wise by making less APIs calls to cloud logging?

Metadata

Metadata

Labels

api: loggingIssues related to the Cloud Logging API.priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions