public class ThriftScribeLogger extends ScribeLogger
Constructor and Description |
---|
ThriftScribeLogger(ThriftService<com.facebook.buck.frontend.thrift.FrontendRequest,com.facebook.buck.frontend.thrift.FrontendResponse> thriftService,
com.google.common.util.concurrent.ListeningExecutorService executorService) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
com.google.common.util.concurrent.ListenableFuture<Unit> |
log(String category,
Iterable<String> lines,
Optional<Integer> bucket) |
log
public ThriftScribeLogger(ThriftService<com.facebook.buck.frontend.thrift.FrontendRequest,com.facebook.buck.frontend.thrift.FrontendResponse> thriftService, com.google.common.util.concurrent.ListeningExecutorService executorService)
public com.google.common.util.concurrent.ListenableFuture<Unit> log(String category, Iterable<String> lines, Optional<Integer> bucket)
log
in class ScribeLogger
public void close() throws IOException
IOException