Package com.google.cloud.spring.logging
package com.google.cloud.spring.logging
-
ClassDescriptionThis interface allows users to write additional JSON record the JSON log layout.A Google Cloud Java Logback
LoggingAppender
wrapper that configures it for Spring Cloud GCP.MVC Adapter that adds theTraceIdLoggingWebMvcInterceptor
.This class provides the service context data for stackdriver error reporting.This class provides a JSON layout for a Logback appender compatible to the Stackdriver log format.Constants for Stackdriver Trace.Adds the trace ID and span ID to the logging entry, in its correct format to be displayed in the Logs viewer.HandlerInterceptor
that extracts the request trace ID from the "x-cloud-trace-context" HTTP header and stores it in a thread-local usingTraceIdLoggingEnhancer.setCurrentTraceId(java.lang.String)
.