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 LogEntryLogEntry.Builder. build()Creates aLogEntryobject for this builder.static LogEntryInstrumentation. createDiagnosticEntry(String libraryName, String libraryVersion)The helper method to generate a log entry with diagnostic instrumentation data.LogEntryLogEntryIterator. next()static LogEntryLogEntry. of(Payload<?> payload)Creates aLogEntryobject given the entry payload.static LogEntryLogEntry. of(String logName, com.google.cloud.MonitoredResource resource, Payload<?> payload)Creates aLogEntryobject 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 ofLogEntryitems.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 ofLogEntryitems.voidLogging. write(Iterable<LogEntry> logEntries, Logging.WriteOption... options)Sends a request to log entries to Cloud Logging.
-