org.apache.log.output.lf5
public class LF5LogTarget extends Object implements LogTarget
Version: $Id: LF5LogTarget.java 30977 2004-07-30 03:57:54 -0500 (Fri, 30 Jul 2004) niclas $
| Field Summary | |
|---|---|
| static Formatter | c_defaultContextFormatter Default context map formatter |
| static LogBrokerMonitor | c_defaultLogMonitor Common monitor |
| Formatter | m_contextFormatter Format for context maps |
| LogBrokerMonitor | m_monitor Monitor for this LogTarget |
| Constructor Summary | |
|---|---|
| LF5LogTarget(LogBrokerMonitor monitor)
Create a LogFactorLogTarget on a given LogBrokerMonitor. | |
| LF5LogTarget()
Create LogFactorLogTarget on the default LogBrokerMonitor. | |
| Method Summary | |
|---|---|
| static 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. |
LogFactorLogTarget on a given LogBrokerMonitor.Parameters: monitor the monitor
LogFactorLogTarget on the default LogBrokerMonitor.LogBrokerMonitor instance.
Returns: the monitor
Parameters: event the log event
Parameters: formatter the message formatter