01: package org.jzonic.jlo.formatter.tokens;
02:
03: import org.jzonic.jlo.LogRecord;
04:
05: /**
06: * Created by IntelliJ IDEA.
07: * User: Mecky
08: * Date: 19.07.2005
09: * Time: 12:17:49
10: * To change this template use File | Settings | File Templates.
11: */
12: public class TextToken implements FormatterToken {
13:
14: public String format(LogRecord lr) {
15: return lr.getMessage();
16: }
17:
18: public String getName() {
19: return "text";
20: }
21:
22: public void setParameterString(String txt) {
23: //To change body of implemented methods use File | Settings | File Templates.
24: }
25: }
|