java.lang.Object | ||
↳ | org.apache.log4j.AppenderSkeleton | |
↳ | org.apache.log4j.nt.NTEventLogAppender |
Append to the NT event log system.
WARNING This appender can only be installed and used on a Windows system.
Do not forget to place NTEventLogAppender.dll, NTEventLogAppender.amd64.dll, NTEventLogAppender.ia64.dll or NTEventLogAppender.x86.dll as appropriate in a directory that is on the PATH of the Windows system. Otherwise, you will get a java.lang.UnsatisfiedLinkError.
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.log4j.AppenderSkeleton
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Derived appenders should override this method if option structure
requires it.
| |||||||||||
Subclasses of
AppenderSkeleton should implement this
method to perform actual logging. | |||||||||||
Finalize this appender by calling the derived class'
close method. | |||||||||||
The
NTEventLogAppender requires a layout. | |||||||||||
The Source option which names the source of the event.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.log4j.AppenderSkeleton
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.apache.log4j.Appender
| |||||||||||
From interface
org.apache.log4j.spi.OptionHandler
|
Derived appenders should override this method if option structure requires it.
Subclasses of AppenderSkeleton
should implement this
method to perform actual logging. See also AppenderSkeleton.doAppend
method.
Finalize this appender by calling the derived class'
close
method.
The NTEventLogAppender
requires a layout. Hence,
this method always returns true
.
The Source option which names the source of the event. The current value of this constant is Source.