Skip to content

Commit 4cb7859

Browse files
author
J.C. Manzo
committed
Revert "Update logging methods usage in subscriber"
This reverts commit 723e116.
1 parent 723e116 commit 4cb7859

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Event/Subscriber/OmnipayGatewayRequestSubscriber.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public static function getSubscribedEvents()
8080
*/
8181
public function onOmnipayRequestBeforeSend(Event $event)
8282
{
83-
$this->logger->info($this->gateway_name, $event->toArray());
83+
$this->logger->log(LogLevel::INFO, $this->gateway_name, $event->toArray());
8484
}
8585

8686
/**
@@ -95,7 +95,7 @@ public function onOmnipayRequestBeforeSend(Event $event)
9595
*/
9696
public function onOmnipayResponseSuccess(Event $event)
9797
{
98-
$this->logger->notice($this->gateway_name, $event->toArray());
98+
$this->logger->log(LogLevel::INFO, $this->gateway_name, $event->toArray());
9999
}
100100

101101
/**
@@ -110,6 +110,6 @@ public function onOmnipayResponseSuccess(Event $event)
110110
*/
111111
public function onOmnipayRequestError(Event $event)
112112
{
113-
$this->logger->error($this->gateway_name, $event->toArray());
113+
$this->logger->log(LogLevel::ERROR, $this->gateway_name, $event->toArray());
114114
}
115115
}

0 commit comments

Comments
 (0)