Inheritance diagram for NTEventLogAppender:
Public Member Functions | |
virtual void | activateOptions () |
virtual void | close () |
virtual void | setOption (const String &option, const String &value) |
bool | requiresLayout () const |
Protected Member Functions | |
virtual void | append (const spi::LoggingEventPtr &event) |
virtual void activateOptions | ( | ) | [virtual] |
Derived appenders should override this method if option structure requires it.
Reimplemented from AppenderSkeleton.
virtual void append | ( | const spi::LoggingEventPtr & | event | ) | [protected, virtual] |
Subclasses of AppenderSkeleton
should implement this method to perform actual logging. See also AppenderSkeleton::doAppend method.
Implements AppenderSkeleton.
virtual void close | ( | ) | [virtual] |
Release any resources allocated within the appender such as file handles, network connections, etc.
It is a programming error to append to a closed appender.
Implements Appender.
bool requiresLayout | ( | ) | const [inline, virtual] |
The SocketAppender does not use a layout. Hence, this method returns false
.
Implements Appender.
virtual void setOption | ( | const String & | option, | |
const String & | value | |||
) | [virtual] |
Set option
to value
.
The handling of each option depends on the OptionHandler instance. Some options may become active immediately whereas other may be activated only when activateOptions is called.
Reimplemented from AppenderSkeleton.