Unable to configure the logger to use a custom handler.
If I configure with: 'jiraLogEnabled=false' and am using the bundel in Symfony,
I get the following exception:
Compile Error: Declaration of JiraRestApi\NoOperationMonologHandler::write(array $record): void must be compatible with Monolog\Handler\AbstractProcessingHandler::write(Monolog\LogRecord $record): void
It would be great, to customize the LogHandler by DI , so you can use your own class?
Unable to configure the logger to use a custom handler.
If I configure with: 'jiraLogEnabled=false' and am using the bundel in Symfony, I get the following exception:
Compile Error: Declaration of JiraRestApi\NoOperationMonologHandler::write(array $record): void must be compatible with Monolog\Handler\AbstractProcessingHandler::write(Monolog\LogRecord $record): void
It would be great, to customize the LogHandler by DI , so you can use your own class?
$this->log->pushHandler(new NoOperationMonologHandler());