Uses of Class
com.google.cloud.logging.LogEntry
-
Packages that use LogEntry Package Description com.google.cloud.logging A client for Cloud Logging - Real-time log management and analysis. -
-
Uses of LogEntry in com.google.cloud.logging
Methods in com.google.cloud.logging that return LogEntry Modifier and Type Method Description LogEntry
LogEntry.Builder. build()
Creates aLogEntry
object for this builder.static LogEntry
Instrumentation. createDiagnosticEntry(String libraryName, String libraryVersion)
The helper method to generate a log entry with diagnostic instrumentation data.LogEntry
LogEntryIterator. next()
static LogEntry
LogEntry. of(Payload<?> payload)
Creates aLogEntry
object given the entry payload.static LogEntry
LogEntry. of(String logName, com.google.cloud.MonitoredResource resource, Payload<?> payload)
Creates aLogEntry
object given the log name, the monitored resource and the entry payload.Methods in com.google.cloud.logging that return types with arguments of type LogEntry Modifier and Type Method Description List<LogEntry>
LogEntryServerStream. convert(TailLogEntriesResponse resp)
Iterator<LogEntry>
LogEntryServerStream. iterator()
com.google.api.gax.paging.Page<LogEntry>
Logging. listLogEntries(Logging.EntryListOption... options)
Lists log entries.com.google.api.core.ApiFuture<com.google.api.gax.paging.AsyncPage<LogEntry>>
Logging. listLogEntriesAsync(Logging.EntryListOption... options)
Sends a request for listing log entries.static com.google.cloud.Tuple<Boolean,Iterable<LogEntry>>
Instrumentation. populateInstrumentationInfo(Iterable<LogEntry> logEntries)
Populates entries with instrumentation info which is added in separate log entrydefault Iterable<LogEntry>
Logging. populateMetadata(Iterable<LogEntry> logEntries, com.google.cloud.MonitoredResource customResource, String... exclusionClassPaths)
Populates metadata fields of the immutable collection ofLogEntry
items.Method parameters in com.google.cloud.logging with type arguments of type LogEntry Modifier and Type Method Description static com.google.cloud.Tuple<Boolean,Iterable<LogEntry>>
Instrumentation. populateInstrumentationInfo(Iterable<LogEntry> logEntries)
Populates entries with instrumentation info which is added in separate log entrydefault Iterable<LogEntry>
Logging. populateMetadata(Iterable<LogEntry> logEntries, com.google.cloud.MonitoredResource customResource, String... exclusionClassPaths)
Populates metadata fields of the immutable collection ofLogEntry
items.void
Logging. write(Iterable<LogEntry> logEntries, Logging.WriteOption... options)
Sends a request to log entries to Cloud Logging.
-