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
Name Description
options Options

Properties

common

  common 
 : 
  
 LoggingCommon 
 ; 
 
Property Value
Type Description
LoggingCommon

LOGGING_TRACE_KEY

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

Methods

log(info, callback)

  log 
 ( 
 info 
 : 
  
 any 
 , 
  
 callback 
 : 
  
 Callback 
 ) 
 : 
  
 void 
 ; 
 
Parameters
Name Description
info any
callback Callback
Returns
Type Description
void
Create a Mobile Website
View Site in Mobile | Classic
Share by: