Constructor
new Sink(logging, name)
Parameters:
Name | Type | Description |
---|---|---|
logging |
Logging |
Logging instance. |
name |
string |
Name of the sink. |
A sink is an object that lets you to specify a set of log entries to export to a particular destination. Cloud Logging lets you export log entries to destinations including Cloud Storage buckets (for long term log storage), Google BigQuery datasets (for log analysis), Google Pub/Sub (for streaming to other applications).
Name | Type | Description |
---|---|---|
logging |
Logging |
Logging instance. |
name |
string |
Name of the sink. |