Source for file Syslog.php
Documentation is available at Syslog.php
// vim: foldmethod=marker
* @author Masaki Fujimoto <fujimoto@php.net>
* @license http://www.opensource.org/licenses/bsd-license.php The BSD License
* @version $Id: 30daaf92ffa7c2a2a2bf153bffbfea71a0064734 $
// {{{ Ethna_Plugin_Logwriter_Syslog
* @author Masaki Fujimoto <fujimoto@php.net>
$option =
$this->option & (LOG_PID);
* @param int $level ログレベル(LOG_DEBUG, LOG_NOTICE...)
* @param string $message ログメッセージ(+引数)
function log($level, $message)
$prefix =
sprintf('%s: ', $this->_getLogLevelName($level));
$bt =
$this->_getBacktrace();
$tmp .=
$tmp ?
sprintf('(%s)', $bt['pos']) :
$bt['pos'];
syslog($level, $prefix .
$message);
return $prefix .
$message;
Documentation generated on Fri, 11 Nov 2011 03:59:08 +0900 by phpDocumentor 1.4.3