Constructor

Sink

new Sink(logging, name)

Parameter

logging

Logging

Logging instance.

name

string

Name of the sink.

See also

Introduction to Sinks

Example

const {Logging} = require('@google-cloud/logging');
const logging = new Logging();
const sink = logging.sink('my-sink');

Property

name

string