Class LoggingWinston (4.0.5)

This module provides support for streaming your winston logs to [Stackdriver Logging](https://cloud.google.com/logging).

Inheritance

TransportStream > LoggingWinston

Package

@google-cloud/logging-winston!

Constructors

(constructor)(options)

constructor(options?: Options);

Constructs a new instance of the LoggingWinston class

Parameter
NameDescription
options Options

Properties

common

common: LoggingCommon;
Property Value
TypeDescription
LoggingCommon

LOGGING_TRACE_KEY

static readonly LOGGING_TRACE_KEY = "logging.googleapis.com/trace";

Methods

log(info, callback)

log(info: any, callback: Callback): void;
Parameters
NameDescription
info any
callback Callback
Returns
TypeDescription
void