From f7bd2c90fedc18438e6f5461bb5448f36a4f1495 Mon Sep 17 00:00:00 2001 From: Tomcraft1980 Date: Fri, 5 May 2017 16:12:01 +0200 Subject: [PATCH] Update PayPalLogger.php Fix time format --- lib/PayPal/Log/PayPalLogger.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/PayPal/Log/PayPalLogger.php b/lib/PayPal/Log/PayPalLogger.php index ed7a80c0..6be02ec8 100644 --- a/lib/PayPal/Log/PayPalLogger.php +++ b/lib/PayPal/Log/PayPalLogger.php @@ -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); } } }