public class OfflineScribeLogger extends ScribeLogger
Modifier and Type | Field and Description |
---|---|
protected static String |
LOGFILE_PATTERN |
protected static String |
LOGFILE_PREFIX |
protected static String |
LOGFILE_SUFFIX |
Constructor and Description |
---|
OfflineScribeLogger(ScribeLogger scribeLogger,
com.google.common.collect.ImmutableList<String> blacklistCategories,
int maxScribeOfflineLogsKB,
ProjectFilesystem projectFilesystem,
BuckEventBus buckEventBus,
BuildId buildId) |
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
protected static final String LOGFILE_PATTERN
protected static final String LOGFILE_PREFIX
protected static final String LOGFILE_SUFFIX
public OfflineScribeLogger(ScribeLogger scribeLogger, com.google.common.collect.ImmutableList<String> blacklistCategories, int maxScribeOfflineLogsKB, ProjectFilesystem projectFilesystem, BuckEventBus buckEventBus, BuildId buildId)
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