java.lang.Object | ||
↳ | org.apache.log4j.AppenderSkeleton | |
↳ | org.apache.log4j.lf5.LF5Appender |
LF5Appender
logs events to a swing based logging
console. The swing console supports turning categories on and off,
multiple detail level views, as well as full text searching and many
other capabilties.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
_defaultLogMonitor | |||||||||||
_finalizer | |||||||||||
_logMonitor |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a
LF5Appender using the default instance of
the LogBrokerMonitor . | |||||||||||
Constructs a
LF5Appender |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Appends a
LoggingEvent record to the
LF5Appender . | |||||||||||
This method is an empty implementation of the close() method inherited
from the
org.apache.log4j.Appender interface. | |||||||||||
The equals method compares two LF5Appenders and determines whether
they are equal.
| |||||||||||
Returns a value that indicates whether this appender requires a
Layout . | |||||||||||
This method is used to set the property that controls whether
the
LogBrokerMonitor is hidden or closed when a user
exits
the monitor. | |||||||||||
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Constructs a LF5Appender
using the default instance of
the LogBrokerMonitor
. This constructor should LF5Appender(LogBrokerMonitor monitor)
constructor, unless you need to spawn additional log monitoring
windows.
Constructs a LF5Appender
using an instance of
a
LogBrokerMonitor
supplied by the user. This
constructor should only be used when you need to spawn
additional log monitoring windows.
monitor | An instance of a LogBrokerMonitor |
---|
Appends a LoggingEvent
record to the
LF5Appender
.
event | The LoggingEvent
to be appended.
|
---|
This method is an empty implementation of the close() method inherited
from the org.apache.log4j.Appender
interface.
The equals method compares two LF5Appenders and determines whether
they are equal. Two Appenders
will be considered equal
if, and only if, they both contain references to the same
LogBrokerMonitor
.
compareTo | A boolean value indicating whether the two LF5Appenders are equal. |
---|
Returns a value that indicates whether this appender requires a
Layout
. This method always returns false.
No layout is required for the LF5Appender
.
This method is used to set the property that controls whether
the LogBrokerMonitor
is hidden or closed when a user
exits
the monitor. By default, the LogBrokerMonitor
will hide
itself when the log window is exited, and the swing thread will
continue to run in the background. If this property is
set to true, the LogBrokerMonitor
will call System.exit(0)
and will shut down swing thread and the virtual machine.
callSystemExitOnClose | A boolean value indicating whether to call System.exit(0) when closing the log window. |
---|
LogBrokerMonitor
.