Skip to content
This repository has been archived by the owner on Sep 29, 2023. It is now read-only.

Commit

Permalink
Merge pull request #845 from Tomcraft1980/master
Browse files Browse the repository at this point in the history
Update PayPalLogger.php
  • Loading branch information
jaypatel512 authored May 9, 2017
2 parents d375c6d + f7bd2c9 commit 4485817
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/PayPal/Log/PayPalLogger.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public function log($level, $message, array $context = array())
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);
}
}
}
Expand Down

0 comments on commit 4485817

Please sign in to comment.