| category |
Zend |
| package |
Zend_Log |
| subpackage |
Writer |
| copyright |
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
| license |
New BSD License |
| version |
$Id: Abstract.php 20096 2010-01-06 02:05:09Z bkarwin $ |
Methods
Class constructor
__construct(array $params) : void
Add a filter specific to this writer.
addFilter(\Zend_Log_Filter_Interface $filter) : void
Inherited
| inherited_from |
\Zend_Log_Writer_Abstract::addFilter() |
Parameters
Set application name
setApplicationName(string $application) : void
Parameters
$application
stringApplication name
Set syslog facility
setFacility(string $facility) : void
Parameters
$facility
stringSyslog facility
Close syslog.
shutdown() : void
Log a message to this writer.
write(array $event) : void
Inherited
| inherited_from |
\Zend_Log_Writer_Abstract::write() |
Parameters
$event
arraylog data event
Initialize syslog / set application name and facility
_initializeSyslog() : void
Validate and optionally convert the config to array
_parseConfig(array | \Zend_Config $config) : array
Inherited
| inherited_from |
\Zend_Log_Writer_Abstract::_parseConfig() |
Parameters
Exceptions
Returns
array
Write a message to syslog.
_write(array $event) : void
Properties
Application name used by this syslog-writer instance
$_application : string
The default log priority - for unmapped custom priorities
$_defaultPriority : string
Facility used by this syslog-writer instance
$_facility : string
<p>of Zend_Log_Filter_Interface</p>
$_filters : array
Inherited
| inherited_from |
\Zend_Log_Writer_Abstract::$$_filters |
Last application name set by a syslog-writer instance
$_lastApplication : string
Last facility name set by a syslog-writer instance
$_lastFacility : string
Maps Zend_Log priorities to PHP's syslog priorities
$_priorities : array