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