use of com.facebook.buck.event.listener.SimpleConsoleEventBusListener in project buck by facebook.
the class Main method createConsoleEventListener.
private AbstractConsoleEventBusListener createConsoleEventListener(Clock clock, SuperConsoleConfig config, Console console, TestResultSummaryVerbosity testResultSummaryVerbosity, ExecutionEnvironment executionEnvironment, Optional<WebServer> webServer, Locale locale, Path testLogPath) {
if (isSuperConsoleEnabled(console)) {
SuperConsoleEventBusListener superConsole = new SuperConsoleEventBusListener(config, console, clock, testResultSummaryVerbosity, executionEnvironment, webServer, locale, testLogPath, TimeZone.getDefault());
superConsole.startRenderScheduler(SUPER_CONSOLE_REFRESH_RATE.toMillis(), TimeUnit.MILLISECONDS);
return superConsole;
}
return new SimpleConsoleEventBusListener(console, clock, testResultSummaryVerbosity, locale, testLogPath, executionEnvironment);
}
Aggregations