Interface ServiceContext (9.5.7)

For logged errors, one can provide a the service context. For more information see [this guide] https://cloud.google.com/error-reporting/docs/formatting-error-messages and the [official documentation] https://cloud.google.com/error-reporting/reference/rest/v1beta1/ServiceContext .

Package

@google-cloud/logging!

Properties

service

  service 
 ?: 
  
 string 
 ; 
 

An identifier of the service, such as the name of the executable, job, or Google App Engine service name.

Property Value
Type Description
string

version

  version 
 ?: 
  
 string 
 ; 
 

Represents the version of the service.

Property Value
Type Description
string
Create a Mobile Website
View Site in Mobile | Classic
Share by: