public class RuleKeyLoggerListener extends Object implements BuckEventListener
| Constructor and Description |
|---|
RuleKeyLoggerListener(ProjectFilesystem projectFilesystem,
InvocationInfo info,
ExecutorService outputExecutor,
TaskManagerCommandScope managerScope,
Optional<RuleKeyLogFileUploader> ruleKeyLogFileUploader) |
RuleKeyLoggerListener(ProjectFilesystem projectFilesystem,
InvocationInfo info,
ExecutorService outputExecutor,
TaskManagerCommandScope managerScope,
Optional<RuleKeyLogFileUploader> ruleKeyLogFileUploader,
int minLinesForAutoFlush) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Cleanup, output any trace data collected to the backing store.
|
Path |
getLogFilePath() |
void |
onArtifactCacheEvent(HttpArtifactCacheEvent.Finished event) |
void |
onBuildRuleEvent(BuildRuleEvent.Finished event) |
public RuleKeyLoggerListener(ProjectFilesystem projectFilesystem, InvocationInfo info, ExecutorService outputExecutor, TaskManagerCommandScope managerScope, Optional<RuleKeyLogFileUploader> ruleKeyLogFileUploader)
public RuleKeyLoggerListener(ProjectFilesystem projectFilesystem, InvocationInfo info, ExecutorService outputExecutor, TaskManagerCommandScope managerScope, Optional<RuleKeyLogFileUploader> ruleKeyLogFileUploader, int minLinesForAutoFlush)
public void onArtifactCacheEvent(HttpArtifactCacheEvent.Finished event)
public void onBuildRuleEvent(BuildRuleEvent.Finished event)
public Path getLogFilePath()
public void close()
BuckEventListenerclose in interface BuckEventListenerclose in interface Closeableclose in interface AutoCloseable