예제 #1
0
파일: logger.php 프로젝트: bermi/akelos
 public function handleDisplayMessage($error_level, $message, $parameters = array())
 {
     if (AkConfig::getOption('logger.display_message', true)) {
         if (!empty($this->options['print'])) {
             list($file, $line, $method) = AkDebug::getLastFileAndLineAndMethod(false, 3);
             AkDebug::trace("<strong>[{$error_level}]</strong> - " . AkTextHelper::html_escape($message), $line, $file, $method, false);
             if (!empty($parameters)) {
                 AkDebug::trace($parameters, $line, $file, $method);
             }
         }
     }
 }
예제 #2
0
파일: base.php 프로젝트: bermi/akelos
 /**
  * @deprecated
  * @uses  AkDebug::getLastFileAndLineAndMethod
  */
 static function getLastFileAndLineAndMethod($only_app = false, $start_level = 1)
 {
     Ak::deprecateMethod(__METHOD__, 'AkDebug::getLastFileAndLineAndMethod()');
     return AkDebug::getLastFileAndLineAndMethod($only_app, $start_level);
 }