use of org.apache.logging.log4j.core.LifeCycle 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.apache.logging.log4j.core.LifeCycle 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();
}
use of org.apache.logging.log4j.core.LifeCycle in project logging-log4j2 by apache.
the class AsyncLoggersLocationBenchmark method down.
@TearDown(Level.Trial)
public void down() {
((LifeCycle) LogManager.getContext(false)).stop();
new File("perftest.log").delete();
}
use of org.apache.logging.log4j.core.LifeCycle in project logging-log4j2 by apache.
the class AsyncAppenderLog4j2Benchmark method down.
@TearDown(Level.Trial)
public void down() {
((LifeCycle) LogManager.getContext(false)).stop();
new File("perftest.log").delete();
}
use of org.apache.logging.log4j.core.LifeCycle in project logging-log4j2 by apache.
the class AsyncLoggersBenchmark method down.
@TearDown(Level.Trial)
public void down() {
((LifeCycle) LogManager.getContext(false)).stop();
new File("perftest.log").delete();
}