Skip to content

Commit bcfef6d

Browse files
MAGETWO-52915: [GITHUB] Cannot Inject Custom Handler to Magento\Framework\Logger\Monolog #2234
1 parent ca6282d commit bcfef6d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lib/internal/Magento/Framework/Logger/Monolog.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ class Monolog extends Logger
1313
/**
1414
* {@inheritdoc}
1515
*/
16-
public function __construct($name, array $handlers = array(), array $processors = array())
16+
public function __construct($name, array $handlers = [], array $processors = [])
1717
{
1818
/**
19-
* TODO: This should eliminated once https://github.com/Seldaek/monolog/pull/692 appeared in M2
19+
* TODO: This should be eliminated with MAGETWO-53989
2020
*/
2121
$handlers = array_values($handlers);
2222

@@ -26,9 +26,9 @@ public function __construct($name, array $handlers = array(), array $processors
2626
/**
2727
* Adds a log record.
2828
*
29-
* @param integer $level The logging level
30-
* @param string $message The log message
31-
* @param array $context The log context
29+
* @param integer $level The logging level
30+
* @param string $message The log message
31+
* @param array $context The log context
3232
* @return Boolean Whether the record has been processed
3333
*/
3434
public function addRecord($level, $message, array $context = [])

0 commit comments

Comments
 (0)