|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.log.output.lf5.LF5LogTarget
A LogTarget that displays log events using the
LogFactor5
Swing GUI.
| Constructor Summary | |
LF5LogTarget()
Create LogFactorLogTarget on the default LogBrokerMonitor. |
|
LF5LogTarget(org.apache.log4j.lf5.viewer.LogBrokerMonitor monitor)
Create a LogFactorLogTarget on a given LogBrokerMonitor. |
|
| Method Summary | |
static org.apache.log4j.lf5.viewer.LogBrokerMonitor |
getDefaultMonitor()
Get the default LogBrokerMonitor instance. |
void |
processEvent(LogEvent event)
Process a log event. |
void |
setNDCFormatter(Formatter formatter)
Sets the Formatter that will be used to produce the "NDC" (nested diagnostic
context) text on the GUI. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LF5LogTarget(org.apache.log4j.lf5.viewer.LogBrokerMonitor monitor)
LogFactorLogTarget on a given LogBrokerMonitor.
monitor - the monitorpublic LF5LogTarget()
LogFactorLogTarget on the default LogBrokerMonitor.
| Method Detail |
public void setNDCFormatter(Formatter formatter)
Formatter that will be used to produce the "NDC" (nested diagnostic
context) text on the GUI.
formatter - the message formatterpublic static org.apache.log4j.lf5.viewer.LogBrokerMonitor getDefaultMonitor()
LogBrokerMonitor instance.
public void processEvent(LogEvent event)
processEvent in interface LogTargetevent - the log event
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||