Switch to use the Lttng-Ust Java Agent API, refactor using JUnit
[lttng-ust-java-tests.git] / src / org / lttng / ust / agent / jul / benchmarks / FileHandlerBenchmark.java
1 package org.lttng.ust.agent.jul.benchmarks;
2
3 import java.io.IOException;
4 import java.util.logging.FileHandler;
5 import java.util.logging.SimpleFormatter;
6
7 import org.junit.Before;
8
9 public class FileHandlerBenchmark extends AbstractJulBenchmark {
10
11 @Before
12 public void testSetup() throws SecurityException, IOException {
13 handler = new FileHandler("/tmp/log", false);
14 handler.setFormatter(new SimpleFormatter());
15 }
16 }
This page took 0.034026 seconds and 4 git commands to generate.