1 /**
2 * Logback: the generic, reliable, fast and flexible logging framework.
3 *
4 * Copyright (C) 2000-2008, QOS.ch
5 *
6 * This library is free software, you can redistribute it and/or modify it under
7 * the terms of the GNU Lesser General Public License as published by the Free
8 * Software Foundation.
9 */
10 package ch.qos.logback.classic.testUtil;
11
12 import ch.qos.logback.classic.pattern.ClassicConverter;
13 import ch.qos.logback.classic.spi.LoggingEvent;
14
15 public class SampleConverter extends ClassicConverter {
16
17 static public final String SAMPLE_STR = "sample";
18
19 @Override
20 public String convert(LoggingEvent event) {
21 return SAMPLE_STR;
22 }
23
24 }