Skip to content

Commit

Permalink
Code style in logback benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
pmwmedia committed Jul 25, 2014
1 parent cb78898 commit fb3b687
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,7 @@ private LayoutWrappingEncoder<ILoggingEvent> createEncoder(final LoggerContext c
PatternLayoutEncoder encoder = new PatternLayoutEncoder();
encoder.setContext(context);
encoder.setPattern("%date{yyyy-MM-dd HH:mm:ss} [%thread] %class.%method\\(\\): %message%n");
encoder.setImmediateFlush(true);
if (async) {
encoder.setImmediateFlush(false);
}
encoder.setImmediateFlush(!async);
return encoder;
}

Expand Down

0 comments on commit fb3b687

Please sign in to comment.