Abstract class that defines output logs strategies.
Located in /LoggerAppender.php (line 27)
Class | Description |
---|---|
LoggerAppenderAdodb | Appends log events to a db table using adodb class. |
LoggerAppenderConsole | ConsoleAppender appends log events to STDOUT or STDERR. |
LoggerAppenderEcho | LoggerAppenderEcho uses 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 every events as a separate email. |
LoggerAppenderNull | A NullAppender merely exists, it never outputs a message to any device. |
LoggerAppenderPDO | Appends log events to a db table using PDO. |
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
LoggerLayout for this appender. It can be null if appender has its own layout
Constructor
Derived appenders should override this method if option structure requires it.
Add a filter to the end of the filter list.
Subclasses of LoggerAppender should implement this method to perform actual logging.
Clear the list of filters by removing all the filters in it.
Release any resources allocated.
Subclasses of LoggerAppender 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.
Return the first filter in the filter chain for this Appender.
The return value may be null if no is filter is set.
Return the first filter in the filter chain for this Appender.
The return value may be null if no is filter is set.
Get the name of this appender.
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.
If there is no threshold set, then the return value is always true.
Configurators call this method to determine if the appender requires a layout.
If this method returns true, meaning that layout is required, then the configurator will configure a layout using the configuration information at its disposal. If this method returns false, meaning that a layout is not required, then layout configuration will be skipped even if there is available layout configuration information at the disposal of the configurator.
In the rather exceptional case, where the appender implementation admits a layout but can also work without it, then the appender should return true.
Set the name of this appender.
The name is used by other components to identify this appender.
Set the threshold level of this appender.
Documentation generated on Fri, 27 Nov 2009 07:44:46 +0100 by phpDocumentor 1.4.3