|
JBoss LogManager 1.1.0.CR6 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.logging.Formatter
org.jboss.logmanager.ExtFormatter
org.jboss.logmanager.formatters.MultistepFormatter
public class MultistepFormatter
A formatter which formats a record in a series of steps.
Constructor Summary | |
---|---|
MultistepFormatter()
Construct a new instance. |
|
MultistepFormatter(FormatStep[] steps)
Construct a new instance. |
Method Summary | |
---|---|
String |
format(ExtLogRecord record)
Format a message using an extended log record. |
FormatStep[] |
getSteps()
Get a copy of the format steps. |
void |
setSteps(FormatStep[] steps)
Assign new format steps. |
Methods inherited from class org.jboss.logmanager.ExtFormatter |
---|
format |
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 |
Constructor Detail |
---|
public MultistepFormatter(FormatStep[] steps)
steps
- the steps to execute to format the recordpublic MultistepFormatter()
Method Detail |
---|
public FormatStep[] getSteps()
public void setSteps(FormatStep[] steps)
steps
- the new format stepspublic String format(ExtLogRecord record)
format
in class ExtFormatter
record
- the log record
|
JBoss LogManager 1.1.0.CR6 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |