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
CommitLineData
7ac7128a
AM
1package org.lttng.ust.agent.jul.benchmarks;
2
3import java.io.IOException;
4import java.util.logging.FileHandler;
5import java.util.logging.SimpleFormatter;
6
7import org.junit.Before;
8
9public 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.022978 seconds and 4 git commands to generate.