use of org.openjdk.jmh.annotations.TearDown in project logging-log4j2 by apache.
the class AsyncAppenderLog4j1Benchmark method down.
@TearDown(Level.Trial)
public void down() {
LogManager.shutdown();
new File("perftest.log").delete();
}
use of org.openjdk.jmh.annotations.TearDown in project logging-log4j2 by apache.
the class AsyncAppenderLog4j1LocationBenchmark method down.
@TearDown(Level.Trial)
public void down() {
LogManager.shutdown();
new File("perftest.log").delete();
}
use of org.openjdk.jmh.annotations.TearDown in project logging-log4j2 by apache.
the class AsyncAppenderLog4j2LocationBenchmark method down.
@TearDown(Level.Trial)
public void down() {
((LifeCycle) LogManager.getContext(false)).stop();
new File("perftest.log").delete();
}
use of org.openjdk.jmh.annotations.TearDown in project logging-log4j2 by apache.
the class AsyncAppenderLogbackLocationBenchmark method down.
@TearDown(Level.Trial)
public void down() {
((LifeCycle) LoggerFactory.getILoggerFactory()).stop();
new File("perftest.log").delete();
}
use of org.openjdk.jmh.annotations.TearDown in project logging-log4j2 by apache.
the class FormatterLoggerBenchmark method down.
@TearDown(Level.Trial)
public void down() {
((LifeCycle) LogManager.getContext(false)).stop();
new File("perftest.log").delete();
}
Aggregations