public interface BatchingLogger
| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.ListenableFuture<Unit> |
forceFlush()
Signals to upload whatever remaining information is buffered.
|
Optional<com.google.common.util.concurrent.ListenableFuture<Unit>> |
log(String logLine) |
Optional<com.google.common.util.concurrent.ListenableFuture<Unit>> log(String logLine)
logLine - data to upload.Optional.empty() if the data has merely been buffered, a ListenableFuture representing the upload otherwise.com.google.common.util.concurrent.ListenableFuture<Unit> forceFlush()