Package | Description |
---|---|
com.google.cloud.logging |
A client for Stackdriver Logging - Real-time log management and analysis.
|
Modifier and Type | Class and Description |
---|---|
static class |
Payload.JsonPayload
A log entry's JSON payload.
|
static class |
Payload.ProtoPayload
A log entry payload as a protobuf object.
|
static class |
Payload.StringPayload
A log entry payload as an UTF-8 string.
|
Modifier and Type | Method and Description |
---|---|
<T extends Payload> |
LogEntry.getPayload()
Returns the payload for this log entry.
|
Modifier and Type | Method and Description |
---|---|
static LogEntry.Builder |
LogEntry.newBuilder(Payload<?> payload)
Returns a builder for
LogEntry objects given the entry payload. |
static LogEntry |
LogEntry.of(Payload<?> payload)
Creates a
LogEntry object given the entry payload. |
static LogEntry |
LogEntry.of(String logName,
MonitoredResource resource,
Payload<?> payload)
Creates a
LogEntry object given the log name, the monitored resource and the entry
payload. |
LogEntry.Builder |
LogEntry.Builder.setPayload(Payload payload)
Sets the payload for this log entry.
|
Copyright © 2019 Google LLC. All rights reserved.