public class StyledTextFormatter extends Formatter
| Modifier and Type | Field and Description |
|---|---|
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 and Description |
|---|
StyledTextFormatter(boolean showOrigin)
constructs a new StyledTextFormatter
|
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
public StyledTextFormatter(boolean showOrigin)
showOrigin - whether or not to show the originpublic String format(LogRecord record)
format in class FormatterFormatter.format(java.util.logging.LogRecord)Copyright © 2002-2012 Delft University of Technology, the Netherlands. All Rights Reserved.