Merge pull request #845 from Tomcraft1980/master

Update PayPalLogger.php
This commit is contained in:
Jay
2017-05-09 15:51:55 -05:00
committed by GitHub

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);
}
}
}