Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Writes log messages to syslog
string $_application = 'Zend_Log'Application name used by this syslog-writer instance
Detailsstring $_defaultPriority = 'LOG_NOTICE'The default log priority - for unmapped custom priorities
Detailsint $_facility = 'LOG_USER'Facility used by this syslog-writer instance
Detailsstring $_lastApplication = ''Last application name set by a syslog-writer instance
Detailsstring $_lastFacility = ''Last facility name set by a syslog-writer instance
Detailsarray $_priorities = 'array'Maps Zend_Log priorities to PHP's syslog priorities
Detailsarray $_validFacilities = 'array'_validFacilities
Details__construct(
$params
=
array
)
:
voidClass constructor
Details_initializeSyslog(
)
:
voidInitialize syslog / set application name and facility
Details_initializeValidFacilities(
)
:
voidInitialize values facilities
Details_write(
array $event
)
:
voidWrite a message to syslog.
Detailsfactory(
array|Zend_Config $config
)
:
Zend_Log_Writer_SyslogCreate a new instance of Zend_Log_Writer_Syslog
DetailssetApplicationName(
string $application
)
:
voidSet application name
DetailssetFacility(
int $facility
)
:
voidSet syslog facility
Detailsshutdown(
)
:
voidClose syslog.
Details