Skip to content

Conversation

@callmehiphop
Copy link
Contributor

Breaking changes ahead! ⚠️

This adds Promise support for the @google-cloud/logging module!

Summary of changes

The following methods previously returned a stream in the event that the callback parameter was omitted. This functionality has since moved to a different method entirely.

  • Logging#getEntries -> Logging#getEntriesStream
  • Logging#getSinks -> Logging#getSinksStream
  • Log#getEntries -> Log#getEntriesStream

Each callback accepting change has also been updated to return a Promise instance in the event that thecallback was omitted.

@callmehiphop callmehiphop added the api: logging Issues related to the Cloud Logging API. label Oct 17, 2016
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Oct 17, 2016
@callmehiphop callmehiphop mentioned this pull request Oct 17, 2016
48 tasks
@stephenplusplus stephenplusplus merged commit b37a3e3 into googleapis:master Oct 17, 2016
miguelvelezsa pushed a commit that referenced this pull request Jul 23, 2025
* tests: move npm link around to try to fix dependency loop

* tests: more moving npm link around
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.

3 participants