You are here

public function ApigeeEdgeDebugToFileLogger::__construct in Apigee Edge 8

ApigeeEdgeDebugToFileLogger constructor.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: A configuration factory instance.

\Drupal\Core\Logger\LogMessageParserInterface $parser: The parser to use when extracting message variables.

\Drupal\Core\Database\Connection $database: The database service.

Overrides SysLog::__construct

File

tests/modules/apigee_edge_test/src/Logger/ApigeeEdgeDebugToFileLogger.php, line 50

Class

ApigeeEdgeDebugToFileLogger
Logs Apigee Edge debug messages to a file in the root of Drupal.

Namespace

Drupal\apigee_edge_test\Logger

Code

public function __construct(ConfigFactoryInterface $config_factory, LogMessageParserInterface $parser, Connection $database) {
  parent::__construct($config_factory, $parser);
  $this->database = $database;
}