|
||||||||||
| 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 java.lang.String |
SEPARATOR
The separator used |
static java.lang.String |
STYLE_DEFAULT
the DEFAULT_STYLE |
static java.lang.String |
STYLE_FINE
THE FINE_STYLE |
static java.lang.String |
STYLE_ORIGIN
THE ORIGIN_STYLE |
static java.lang.String |
STYLE_SOURCE
the SOURCE_STYLE |
static java.lang.String |
STYLE_WARNING
the WARNING_STYLE |
| Constructor Summary | |
|---|---|
StyledTextFormatter(boolean showOrigin)
constructs a new StyledTextFormatter |
|
| Method Summary | |
|---|---|
java.lang.String |
format(java.util.logging.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 java.lang.String STYLE_DEFAULT
public static final java.lang.String STYLE_SOURCE
public static final java.lang.String STYLE_WARNING
public static final java.lang.String STYLE_FINE
public static final java.lang.String STYLE_ORIGIN
public static final java.lang.String SEPARATOR
| Constructor Detail |
|---|
public StyledTextFormatter(boolean showOrigin)
showOrigin - whether or not to show the origin| Method Detail |
|---|
public java.lang.String format(java.util.logging.LogRecord record)
format in class java.util.logging.FormatterFormatter.format(java.util.logging.LogRecord)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||