|
|
ConsoleAppender Class ReferenceInheritance diagram for ConsoleAppender:
[legend]Collaboration diagram for ConsoleAppender:
[legend]List of all members.
Detailed Description
ConsoleAppender appends log events to stdout or stderr using a layout specified by the user. The default target is stdout .
Member Function Documentation
void activateOptions |
( |
|
) |
[virtual] |
|
|
Derived appenders should override this method if option structure requires it.
Reimplemented from AppenderSkeleton. |
virtual void closeWriter |
( |
|
) |
[inline, protected, virtual] |
|
const String & getTarget |
( |
|
) |
const |
|
|
Returns the current value of the #target property. The default value of the option is "System.out".
See also setTarget. |
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. |
void setTarget |
( |
const String & |
value |
) |
|
|
|
Sets the value of the #target property. Recognized values are "System.out" and "System.err". Any other value will be ignored. |
The documentation for this class was generated from the following files:
- consoleappender.h
- consoleappender.cpp
|
|
Copyright © 1999-2004, Apache Software Foundation
|