setPriorities() 공개 정적인 메소드

public static setPriorities ( $prios )
$prios
예제 #1
0
 /**
  * Initialize logging
  */
 protected function initializeLogging()
 {
     $logger = $this->getLogger();
     // hook logger into pimcore
     Logger::addLogger($logger);
     if ($this->output->isVerbose()) {
         Logger::setPriorities(["info", "notice", "warning", "error", "critical", "alert", "emergency"]);
     }
     // set all priorities
     if ($this->output->isDebug()) {
         Logger::setVerbosePriorities();
     }
 }