How to use the apigeetool.getLogs function in apigeetool

To help you get started, we’ve selected a few apigeetool examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github apigee-127 / a127 / lib / commands / account / providers / apigee.js View on Github external
function logs(account, project, options, cb) {
  var opts = buildApigeetoolOpts(account);
  opts.api = project.name;
  if (options.timezone) { opts.timezone = options.timezone; }
  if (options.follow) { opts.streaming = true; }
  apigeetool.getLogs(opts, cb);
}