public class LoggingAppender
extends com.google.cloud.logging.logback.LoggingAppender
LoggingAppender
wrapper that
configures it for Spring Cloud GCP.Constructor and Description |
---|
LoggingAppender() |
Modifier and Type | Method and Description |
---|---|
protected com.google.cloud.logging.LoggingOptions |
getLoggingOptions()
Wraps
LoggingAppender.getLoggingOptions() to add
UserAgentHeaderProvider configuration, so that usage can be properly attributed to
Spring Cloud GCP. |
addEnhancer, addLoggingEventEnhancer, append, flush, getWriteSynchronicity, setAutoPopulateMetadata, setCredentialsFile, setFlushLevel, setLog, setLogbackBatchingSettings, setLogDestinationProjectId, setPartialSuccess, setRedirectToStdout, setResourceType, setWriteSynchronicity, start, stop
addFilter, clearAllFilters, doAppend, getCopyOfAttachedFiltersList, getFilterChainDecision, getName, isStarted, setName, toString
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
protected com.google.cloud.logging.LoggingOptions getLoggingOptions()
LoggingAppender.getLoggingOptions()
to add
UserAgentHeaderProvider
configuration, so that usage can be properly attributed to
Spring Cloud GCP.getLoggingOptions
in class com.google.cloud.logging.logback.LoggingAppender
Copyright © 2023. All rights reserved.