public function DBLogFilter::__construct in DBLog Filter 8
Same name and namespace in other branches
- 8.2 src/Logger/DBLogFilter.php \Drupal\dblog_filter\Logger\DBLogFilter::__construct()
Constructs a DbLogFilter object.
Parameters
\Drupal\Core\Database\Connection $connection: The database connection object.
\Drupal\Core\Logger\LogMessageParserInterface $parser: The parser to use when extracting message variables.
Overrides DbLog::__construct
File
- src/
Logger/ DBLogFilter.php, line 26
Class
- DBLogFilter
- DBLogFilter Class.
Namespace
Drupal\dblog_filter\LoggerCode
public function __construct(Connection $connection, LogMessageParserInterface $parser) {
$this->connection = $connection;
$this->parser = $parser;
}