use of org.gradle.internal.logging.slf4j.Slf4jLoggingConfigurer in project gradle by gradle.
the class LoggingServiceRegistry method createLoggingManagerFactory.
protected DefaultLoggingManagerFactory createLoggingManagerFactory() {
OutputEventRenderer renderer = get(OutputEventRenderer.class);
LoggingSourceSystem stdout = new DefaultStdOutLoggingSystem(getStdoutListener(), get(TimeProvider.class));
stdout.setLevel(LogLevel.QUIET);
LoggingSourceSystem stderr = new DefaultStdErrLoggingSystem(new TextStreamOutputEventListener(get(OutputEventListener.class)), get(TimeProvider.class));
stderr.setLevel(LogLevel.ERROR);
return new DefaultLoggingManagerFactory(renderer, new LoggingSystemAdapter(new Slf4jLoggingConfigurer(renderer)), new JavaUtilLoggingSystem(), stdout, stderr);
}
Aggregations