Abstract superclass of the other appenders in the package.
Abstract superclass of the other appenders in the package. This class provides the code for common functionality, such as support for threshold filtering and support for general filters.
Located in Program_Root/log4php/LoggerAppenderSkeleton.php (line 45)
LoggerAppender | --LoggerAppenderSkeleton
| Class | Description |
|---|---|
| LoggerAppenderConsole | ConsoleAppender appends log events to STDOUT or STDERR using a layout specified by the user. |
| LoggerAppenderDb | Appends log events to a db table using PEAR::DB class. |
| LoggerAppenderEcho | LoggerAppenderEcho uses http://www.php.net/echo function to output events. |
| LoggerAppenderFile | FileAppender appends log events to a file. |
| LoggerAppenderMail | Appends log events to mail using php function http://www.php.net/mail. |
| LoggerAppenderMailEvent | Log events to an email address. |
| LoggerAppenderNull | A NullAppender merely exists, it never outputs a message to any device. |
| LoggerAppenderPhp | Log events using php http://www.php.net/trigger_error function and a LoggerLayoutTTCC default layout. |
| LoggerAppenderSocket | Serialize events and send them to a network socket. |
| LoggerAppenderSyslog | Log events using php http://www.php.net/syslog function. |
The first filter in the filter chain
The first filter in the filter chain
LoggerLayout for this appender.
LoggerLayout for this appender. It can be null if appender has its own layout
The last filter in the filter chain
The last filter in the filter chain
Constructor
Constructor
Called after the appender paramters are set with setter methods.
Called after the appender paramters are set with setter methods. Subclasses of LoggerAppenderSkeleton should implement this method to perform proper options setup. By default id does nothing.
Add a filter to the end of the filter list.
Add a filter to the end of the filter list.
Subclasses of LoggerAppenderSkeleton should implement this method to perform actual logging.
Subclasses of LoggerAppenderSkeleton should implement this method to perform actual logging.
Clear the list of filters by removing all the filters in it.
Clear the list of filters by removing all the filters in it.
Release any resources allocated.
Release any resources allocated. Subclasses of LoggerAppenderSkeleton should implement this method to perform proper closing procedures.
This method performs threshold checks and invokes filters before delegating actual logging to the subclasses specific append() method.
This method performs threshold checks and invokes filters before delegating actual logging to the subclasses specific append() method.
Finalize this appender by calling the derived class'
1 close
method.
Finalize this appender by calling the derived class'
1 close
method.
Do not use this method.
Do not use this method.
Return the first filter in the filter chain for this Appender.
Return the first filter in the filter chain for this Appender. The return value may be
1 null
if no is filter is set.
Return the first filter in the filter chain for this Appender.
Return the first filter in the filter chain for this Appender. The return value may be
1 null
if no is filter is set.
Returns this appender layout.
Returns this appender layout.
Returns this appenders threshold level.
Returns this appenders threshold level. See the setThreshold() method for the meaning of this option.
Check whether the message level is below the appender's threshold.
Check whether the message level is below the appender's threshold. If there is no threshold set, then the return value is always
1 true
.
Configurators call this method to determine if the appender requires a layout.
Configurators call this method to determine if the appender requires a layout.
Set the ErrorHandler for this appender.
Set the ErrorHandler for this appender.
Set the Layout for this appender.
Set the Layout for this appender.
Set the name of this appender.
Set the name of this appender.
Set the threshold level of this appender.
Set the threshold level of this appender.
Inherited From LoggerAppender
LoggerAppender::factory()
LoggerAppender::singleton()
Documentation generated on Wed, 3 Sep 2003 01:02:24 +0200 by phpDocumentor 1.2.2