Skip to content

Incompatibility with Monolog 3 #108

@guillaumesmo

Description

@guillaumesmo

Describe the bug
Support for Monolog v3 has been added in the composer file in v2.0.3: #106

However it seems like the methods are not compatible with the Monolog v3 interfaces:
Fatal error: Declaration of Maxbanton\Cwh\Handler\CloudWatch::write(array $record): void must be compatible with Monolog\Handler\AbstractProcessingHandler::write(Monolog\LogRecord $record): void in .../vendor/maxbanton/cwh/src/Handler/CloudWatch.php on line 164

Please tell about your environment:

  • PHP Version: 8.1.12
  • Operating system (distro): debian
  • Application mode:
    • Web app
    • CLI app
    • Daemon worker

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions