pixmicat

Subversion Repositories:
Compare Path: Rev
With Path: Rev
/ @ 890  →  / @ 891
/PIO/lib/lib_simplelogger.php
@@ -67,7 +67,10 @@
private function logFormat($logLevel, $message, array $vars) {
$dateTime = date('c');
$message = vsprintf($message, $vars);
error_log("$dateTime $logLevel {$this->logName} - $message".PHP_EOL,
3, $this->logFile);
file_put_contents(
$this->logFile,
"$dateTime $logLevel {$this->logName} - $message".PHP_EOL,
FILE_APPEND
);
}
}