Package | Description |
---|---|
com.google.cloud.logging |
A client for Cloud Logging - Real-time log management and analysis.
|
com.google.cloud.logging.spi.v2 | |
com.google.cloud.logging.testing |
A testing helper for Cloud Logging.
|
Modifier and Type | Method and Description |
---|---|
LoggingOptions |
LoggingOptions.Builder.build() |
static LoggingOptions |
LoggingOptions.getDefaultInstance()
Returns a default
LoggingOptions instance. |
Modifier and Type | Method and Description |
---|---|
Logging |
LoggingOptions.DefaultLoggingFactory.create(LoggingOptions options) |
com.google.cloud.ServiceRpc |
LoggingOptions.DefaultLoggingRpcFactory.create(LoggingOptions options) |
Constructor and Description |
---|
LoggingHandler(String log,
LoggingOptions options)
Creates a handler that publishes messages to Cloud Logging.
|
LoggingHandler(String log,
LoggingOptions options,
com.google.cloud.MonitoredResource monitoredResource)
Creates a handler that publishes messages to Cloud Logging.
|
LoggingHandler(String log,
LoggingOptions options,
com.google.cloud.MonitoredResource monitoredResource,
List<LoggingEnhancer> enhancers)
Creates a handler that publishes messages to Cloud Logging.
|
LoggingHandler(String log,
LoggingOptions options,
com.google.cloud.MonitoredResource monitoredResource,
List<LoggingEnhancer> enhancers,
LogDestinationName destination)
Creates a handler that publishes messages to Cloud Logging.
|
Constructor and Description |
---|
GrpcLoggingRpc(LoggingOptions options) |
Modifier and Type | Method and Description |
---|---|
LoggingOptions |
RemoteLoggingHelper.getOptions()
Returns a
LoggingOptions object to be used for testing. |
Copyright © 2023 Google LLC. All rights reserved.