Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
* @type {module:logging/sink}
* @private
*/
var Sink = require('./sink.js');
/**
* @type {module:common/stream-router}
* @private
*/
var streamRouter = common.streamRouter;
/**
* @type {module:pubsub/topic}
* @private
*/
var Topic = require('@google-cloud/pubsub').Topic;
/**
* @type {module:common/util}
* @private
*/
var util = common.util;
/**
* [Google Cloud Logging](https://cloud.google.com/logging/docs) collects and
* stores logs from applications and services on the Google Cloud Platform:
*
* - Export your logs to Google Cloud Storage, Google BigQuery, or Google
* Cloud Pub/Sub.
* - Integrate third-party logs from your virtual machine instances by
* installing the logging agent, `google-fluentd`.
*