()
| 55 | } |
| 56 | |
| 57 | @Setup(Level.Iteration) |
| 58 | public void setUp() { |
| 59 | factory = new LogFactory(); |
| 60 | factory.add(new LogWriterConfig(LogLevel.INFO, (queue, subSeq, level) -> { |
| 61 | LogRollingFileWriter w = new LogRollingFileWriter(queue, subSeq, level); |
| 62 | w.setLocation("log-bench1.log"); |
| 63 | return w; |
| 64 | })); |
| 65 | factory.bind(); |
| 66 | factory.startThread(); |
| 67 | log = factory.create(LogBenchmark.class); |
| 68 | } |
| 69 | |
| 70 | @TearDown(Level.Iteration) |
| 71 | public void tearDown() { |
nothing calls this directly
no test coverage detected