|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.logging.Formatter
nl.tudelft.simulation.logger.formatters.StyledTextFormatter
public class StyledTextFormatter
A StyledTextFormatter
(c) copyright 2002-2005 Delft
University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: Lesser
General Public License (LGPL) , no warranty.
| Field Summary | |
|---|---|
static String |
SEPARATOR
The separator used |
static String |
STYLE_DEFAULT
the DEFAULT_STYLE |
static String |
STYLE_FINE
THE FINE_STYLE |
static String |
STYLE_ORIGIN
THE ORIGIN_STYLE |
static String |
STYLE_SOURCE
the SOURCE_STYLE |
static String |
STYLE_WARNING
the WARNING_STYLE |
| Constructor Summary | |
|---|---|
StyledTextFormatter(boolean showOrigin)
constructs a new StyledTextFormatter |
|
| Method Summary | |
|---|---|
String |
format(LogRecord record)
|
| Methods inherited from class java.util.logging.Formatter |
|---|
formatMessage, getHead, getTail |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String STYLE_DEFAULT
public static final String STYLE_SOURCE
public static final String STYLE_WARNING
public static final String STYLE_FINE
public static final String STYLE_ORIGIN
public static final String SEPARATOR
| Constructor Detail |
|---|
public StyledTextFormatter(boolean showOrigin)
showOrigin - whether or not to show the origin| Method Detail |
|---|
public String format(LogRecord record)
format in class FormatterFormatter.format(java.util.logging.LogRecord)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||