Writes log messages to syslog
category | Zend |
---|---|
package | Zend_Log |
subpackage | Writer |
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
inherited_from | \Zend_Log_Writer_Abstract |
__construct(array $params = array()
) : void
array
Array of options; may include "application" and "facility" keys
addFilter(\Zend_Log_Filter_Interface|integer $filter) : \Zend_Log_Writer_Abstract
\Zend_Log_Filter_Interface
integer
Filter class or filter priority
\Zend_Log_Exception |
---|
\Zend_Log_Writer_Abstract
factory(array|\Zend_Config $config) : \Zend_Log_Writer_Syslog
array
\Zend_Config
\Zend_Log_Writer_Syslog
setApplicationName(string $application) : \Zend_Log_Writer_Syslog
string
Application name
\Zend_Log_Writer_Syslog
setFacility(integer $facility) : \Zend_Log_Writer_Syslog
integer
Syslog facility
\Zend_Log_Exception |
for invalid log facility |
---|
\Zend_Log_Writer_Syslog
setFormatter(\Zend_Log_Formatter_Interface $formatter) : \Zend_Log_Writer_Abstract
\Zend_Log_Formatter_Interface
\Zend_Log_Writer_Abstract
shutdown() : void
inherited_from | \Zend_Log_Writer_Abstract::shutdown() |
---|
shutdown() : void
write(array $event) : void
array
log data event
_initializeSyslog() : void
_initializeValidFacilities() : void
_parseConfig(array|\Zend_Config $config) : array
array
\Zend_Config
Zend_Config or Array
\Zend_Log_Exception |
---|
array
_write(array $event) : void
inherited_from | \Zend_Log_Writer_Abstract::_write() |
---|
array
event data
_write(array $event) : void
array
log data event
$_application : string
'Zend_Log'
$_defaultPriority : string
LOG_NOTICE
$_facility : integer
LOG_USER
$_filters : array
array()
$_formatter : \Zend_Log_Formatter_Interface
$_lastApplication : string
$_lastFacility : string
$_priorities : array
array(\Zend_Log::EMERG => LOG_EMERG, \Zend_Log::ALERT => LOG_ALERT, \Zend_Log::CRIT => LOG_CRIT, \Zend_Log::ERR => LOG_ERR, \Zend_Log::WARN => LOG_WARNING, \Zend_Log::NOTICE => LOG_NOTICE, \Zend_Log::INFO => LOG_INFO, \Zend_Log::DEBUG => LOG_DEBUG)
$_validFacilities : array
array()