Exemplo n.º 1
0
 /**
  * Register an error_log handler.
  *
  * @param string $level
  * @param int $messageType
  * @return void 
  * @static 
  */
 public static function useErrorLog($level = 'debug', $messageType = 0)
 {
     \Illuminate\Log\Writer::useErrorLog($level, $messageType);
 }
Exemplo n.º 2
0
 /**
  * @param \Illuminate\Contracts\Foundation\Application|\Notadd\Foundation\Application $app
  * @param \Illuminate\Log\Writer                                                      $log
  *
  * @return void
  */
 protected function configureErrorlogHandler(Application $app, Writer $log)
 {
     $log->useErrorLog($app->make('config')->get('app.log_level', 'debug'));
 }
Exemplo n.º 3
0
 /**
  * Configure the Monolog handlers for the application.
  *
  * @param \Illuminate\Contracts\Foundation\Application $app        	
  * @param \Illuminate\Log\Writer $log        	
  * @return void
  */
 protected function configureErrorlogHandler(Application $app, Writer $log)
 {
     $log->useErrorLog();
 }
Exemplo n.º 4
0
 /**
  * Configure the Monolog handlers for the application.
  *
  * @param  \Illuminate\Log\Writer  $log
  * @return void
  */
 protected function configureErrorlogHandler(Writer $log)
 {
     $log->useErrorLog($this->logLevel());
 }