waza-ari / monolog-mysql

MySQL Handler for Monolog, which allows to store log messages to a MySQL Table
MIT License
141 stars 85 forks source link

Declaration of MySQLHandler\MySQLHandler::write(array $record) must be compatible with Monolog\Handler\AbstractProcessingHandler::write(array $record): void #32

Closed pinyht closed 1 year ago

pinyht commented 5 years ago

Declaration of MySQLHandler\MySQLHandler::write(array $record) must be compatible with Monolog\Handler\AbstractProcessingHandler::write(array $record): void

can't use with monolog v2.0.0

michalzimniak commented 5 years ago

Declaration of MySQLHandler\MySQLHandler::write(array $record) must be compatible with Monolog\Handler\AbstractProcessingHandler::write(array $record): void in MySQLHandler.php on line 17

cr-lgl commented 5 years ago

I'm trying to figure out the changes to the Monolog in my spare time, please wait!

czachor commented 4 years ago

Any chance of merging @kovenant's fix?

nooborka commented 4 years ago

Any chance of merging @kovenant's fix?

amacado commented 1 year ago

A patch of this error will be available in https://github.com/waza-ari/monolog-mysql/pull/47