Esempio n. 1
0
 public function __construct($appName, $logDir, $expandNewlines = FALSE)
 {
     parent::__construct(self::SAPI, Monolog\Logger::DEBUG, TRUE, $expandNewlines);
     $this->appName = $appName;
     $this->logDir = $logDir;
     $this->defaultFormatter = new LineFormatter('[%datetime%] %message% %context% %extra%');
     $this->priorityFormatter = new LineFormatter('[%datetime%] %level_name%: %message% %context% %extra%');
 }
 public function __construct($messageType = self::OPERATING_SYSTEM, $level = Logger::DEBUG, $bubble = true, $expandNewlines = false)
 {
     parent::__construct($messageType, $level, $bubble, $expandNewlines);
 }