Public Member Functions | |
void | setTarget (const String &value) |
const String & | getTarget () const |
void | activateOptions () |
void | setOption (const String &option, const String &value) |
Protected Member Functions | |
virtual void | closeWriter () |
stdout
or stderr
using a layout specified by the user. The default target is stdout
.
|
Derived appenders should override this method if option structure requires it. Reimplemented from AppenderSkeleton. |
|
This method overrides the parent WriterAppender::closeWriter implementation to do nothing because the console stream is not ours to close. Implements WriterAppender. |
|
Returns the current value of the target property. The default value of the option is "System.out". See also setTarget. |
|
Set 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. |
|
Sets the value of the target property. Recognized values are "System.out" and "System.err". Any other value will be ignored. |