public function MessagePlaceholderProcessor::__construct in Monolog 8
Same name and namespace in other branches
- 2.x src/Logger/Processor/MessagePlaceholderProcessor.php \Drupal\monolog\Logger\Processor\MessagePlaceholderProcessor::__construct()
Parameters
\Drupal\Core\Logger\LogMessageParserInterface $parser: The parser to use when extracting message variables.
File
- src/
Logger/ Processor/ MessagePlaceholderProcessor.php, line 23
Class
- MessagePlaceholderProcessor
- Parse and replace message placeholders.
Namespace
Drupal\monolog\Logger\ProcessorCode
public function __construct(LogMessageParserInterface $parser) {
$this->parser = $parser;
}