Abstract class that defines output logs strategies.
Located in /LoggerAppender.php (line 27)
LoggerConfigurable | --LoggerAppender
Class | Description |
---|---|
LoggerAppenderNull | A NullAppender merely exists, it never outputs a message to any device. |
LoggerAppenderMail | Appends log events to mail using php function http://www.php.net/mail. |
LoggerAppenderMailEvent | Log every events as a separate email. |
LoggerAppenderConsole | ConsoleAppender appends log events to STDOUT or STDERR. |
LoggerAppenderPhp | Log events using php http://www.php.net/trigger_error function and a LoggerLayoutTTCC default layout. |
LoggerAppenderPDO | Appends log events to a db table using PDO. |
LoggerAppenderMongoDB | Appender for writing to MongoDB. |
LoggerAppenderSyslog | Log events to a system log using the http://www.php.net/syslog function. |
LoggerAppenderFile | FileAppender appends log events to a file. |
LoggerAppenderSocket | Appends events to a network socket. |
LoggerAppenderEcho | LoggerAppenderEcho uses echo function to output events. |
Set to true when the appender is closed. A closed appender will not accept any logging requests.
The first filter in the filter chain.
The appender's layout. Can be null if the appender does not use a layout.
Appender name. Used by other components to identify this appender.
Set to true if the appender requires a layout.
True by default, appenders which do not use a layout should override this property to false.
Appender threshold level. Events whose level is below the threshold will not be logged.
Default constructor.
Prepares the appender for logging.
Derived appenders should override this method if option structure requires it.
Adds a filter to the end of the filter chain.
Forwards the logging event to the destination.
Derived appenders should implement this method to perform actual logging.
Clears the filter chain by removing all the filters in it.
Releases any resources allocated by the appender.
Derived appenders should override this method to perform proper closing procedures.
Performs threshold checks and invokes filters before delegating logging to the subclass' specific append() method.
Returns the default layout for this appender. Can be overriden by derived appenders.
Returns the first filter in the filter chain.
The return value may be null if no is filter is set.
Returns the first filter in the filter chain.
The return value may be null if no is filter is set.
Retruns the appender name.
Checks 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.
Sets the appender name.
Sets the appender threshold.
Triggers a warning for this logger with the given message.
Inherited From LoggerConfigurable
LoggerConfigurable::setBoolean()
LoggerConfigurable::setFileSize()
LoggerConfigurable::setInteger()
LoggerConfigurable::setLevel()
LoggerConfigurable::setNumeric()
LoggerConfigurable::setPositiveInteger()
LoggerConfigurable::setString()
LoggerConfigurable::warn()
Documentation generated on Sat, 18 Feb 2012 22:32:21 +0000 by phpDocumentor 1.4.3