Update PayPalLogger.php

Fix time format
This commit is contained in:
Tomcraft1980
2017-05-05 16:12:01 +02:00
committed by GitHub
parent d375c6d4c6
commit f7bd2c90fe

View File

@@ -77,7 +77,7 @@ class PayPalLogger extends AbstractLogger
if ($this->isLoggingEnabled) {
// Checks if the message is at level below configured logging level
if (array_search($level, $this->loggingLevels) <= array_search($this->loggingLevel, $this->loggingLevels)) {
error_log("[" . date('d-m-Y h:i:s') . "] " . $this->loggerName . " : " . strtoupper($level) . ": $message\n", 3, $this->loggerFile);
error_log("[" . date('d-m-Y H:i:s') . "] " . $this->loggerName . " : " . strtoupper($level) . ": $message\n", 3, $this->loggerFile);
}
}
}