Zend Framework
1.12
|
Public Member Functions | |
__construct (array $params=array()) | |
Class constructor. | |
setFacility ($facility) | |
Set syslog facility. | |
setApplicationName ($application) | |
Set application name. | |
shutdown () | |
Close syslog. | |
![]() | |
addFilter ($filter) | |
Add a filter specific to this writer. | |
write ($event) | |
Log a message to this writer. | |
setFormatter (Zend_Log_Formatter_Interface $formatter) | |
Set a new formatter for this writer. | |
shutdown () | |
Perform shutdown activites such as closing open resources. | |
Static Public Member Functions | |
static | factory ($config) |
Create a new instance of Zend_Log_Writer_Syslog. | |
Protected Member Functions | |
_initializeValidFacilities () | |
Initialize values facilities. | |
_initializeSyslog () | |
Initialize syslog / set application name and facility. | |
_write ($event) | |
Write a message to syslog. | |
![]() | |
_write ($event) | |
Write a message to the log. | |
Protected Attributes | |
$_priorities | |
$_defaultPriority = LOG_NOTICE | |
$_application = 'Zend_Log' | |
$_facility = LOG_USER | |
$_validFacilities = array() | |
![]() | |
$_filters = array() | |
$_formatter | |
Static Protected Attributes | |
static | $_lastApplication |
static | $_lastFacility |
Additional Inherited Members | |
![]() | |
static | _parseConfig ($config) |
Validate and optionally convert the config to array. | |
__construct | ( | array | $params = array() | ) |
Class constructor.
array | $params | Array of options; may include "application" and "facility" keys |
|
protected |
Initialize syslog / set application name and facility.
|
protected |
Initialize values facilities.
|
protected |
Write a message to syslog.
array | $event | event data |
|
static |
Create a new instance of Zend_Log_Writer_Syslog.
array | Zend_Config | $config |
Implements Zend_Log_FactoryInterface.
setApplicationName | ( | $application | ) |
setFacility | ( | $facility | ) |
Set syslog facility.
int | $facility | Syslog facility |
Zend_Log_Exception | for invalid log facility |
shutdown | ( | ) |
Close syslog.
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
staticprotected |
|
protected |
|
protected |