monolog-mysql
monolog-mysql copied to clipboard
MySQL Handler for Monolog, which allows to store log messages to a MySQL Table
Added default `datetime` column for human-readable date and time. Usefull for easy parsing or when exporting to logviewer/excel
Because however later they are added again with array_combine(). test.php file: ```
Hi Just had to revert back to 1.0.4 because in 1.0.5 was getting PHP Warning: PDOStatement::execute(): SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens...
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
Hello, if i correct the columns of the table manually, the application works. Is there a way to the value of time in the ISO8601 standard. Is better ro read....
Hello, i will use the monolog-mysql to write messages in the 'logs' table. With composer i have installed the last version of monolog-mysql. The version is 1.0.4 . 1. When...
I'm trying to use this in a project where database connection can remain open for a very long time. I've thus wrapped PDO in a ReconnectingPDO class, which catches the...
Hi is it possible to include the level name and write this into the database automaticly? array(8) { ["DEBUG"]=> int(100) ["INFO"]=> int(200) ["NOTICE"]=> int(250) ["WARNING"]=> int(300) ["ERROR"]=> int(400) ["CRITICAL"]=> int(500)...
First, thanks for the library, it's handy and doing well out-of-box. However the `CREATE TABLE IF NOT EXISTS...` SQL in the `initialize` method may interrupt transactions unintentionally. For the flow...