Skip to content

Instantly share code, notes, and snippets.

@neuberfran
Created July 10, 2020 02:42
Show Gist options
  • Save neuberfran/462f23c28302dd8cfebddc14f671fdc4 to your computer and use it in GitHub Desktop.
Save neuberfran/462f23c28302dd8cfebddc14f671fdc4 to your computer and use it in GitHub Desktop.
tava assim (antigo)
// const logging = new Logging();
// const log = logging.log(logName);
// function getLogEntries() {
// const logging = Logging();
// const options = {
// pageSize: 10,
// filter: 'resource.type="cloud_function"'
// };
// return logging.getEntries(options)
// .then(([entries]) => {
// console.log('Entries:');
// entries.forEach((entry) => console.log(entry));
// return entries;
// });
// }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment