yutuanbiao

Results 2 comments of yutuanbiao

change the function of class Logger: public function setLogFilePath($logDirectory) { if ($this->options['filename']) { if (strpos($this->options['filename'], '.log') !== false || strpos($this->options['filename'], '.txt') !== false) { $this->logFilePath = $logDirectory.DIRECTORY_SEPARATOR.$this->options['filename']; } else {...

$logger = new Katzgrau\KLogger\Logger(__DIR__ . '/runtime/' . date('Y-m'));