Skip to content

Commit b40e28a

Browse files
authored
Fix compat for 2.4.8 monologger type (#816)
1 parent e8472c5 commit b40e28a

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

app/code/Meta/BusinessExtension/Logger/Handler.php

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,9 @@ public function setPublisher(PublisherInterface $publisher)
5959
}
6060

6161
/**
62-
* Overriding the write function to put logs onto message queue to be persisted to Meta async and logging locally
63-
*
64-
* @param array $record
65-
*/
66-
protected function write(array $record): void
62+
* @inheritDoc
63+
* */
64+
protected function write($record): void
6765
{
6866
$logTypeIsSet = isset($record['context']['log_type']);
6967
if ($logTypeIsSet && $record['context']['log_type'] === FBEHelper::PERSIST_META_LOG_IMMEDIATELY) {

0 commit comments

Comments
 (0)