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