LoggerBuilder { public LoggerBuilder includeThreadName(boolean includeThreadName) { this.includeThreadName = includeThreadName; return this; }  LoggerBuilder slf4jLogger(org.slf4j.Logger slf4jLogger, FastDateFormat dateFormatter); LoggerBuilder includeLoggerName(boolean includeLoggerName); LoggerBuilder includeClassName(boolean includeClassName); LoggerBuilder includeThreadName(boolean includeThreadName); Logger build();  }
@Test public void testIncludeThreadName() throws Exception { Logger includeThreadNameLogger = this.loggerBuilder .includeThreadName(true) .build(); Logger excludeThreadNameLogger = this.loggerBuilder .includeThreadName(false) .build(); assertTrue(includeThreadNameLogger.isIncludeThreadName()); assertFalse(excludeThreadNameLogger.isIncludeThreadName()); }