A logger which outputs messages into a PDO instance using prepared statements.

If the logger is used without changing the static $insert sql insert string to create logs, a table is required. The table (or insert command if changed) should contain the following columns: The default database table called is 'log_messages' but can be changed by changing the static $insert field.

level   - varchar(255)
message - text
time    - datetime

The insert call will use the following bound parameters:

level   - string
message - string
time    - string

Type hierarchy

kaidenchen/yii2-resque-enhance dev-master 1.0 v0.2
ortnit/logger dev-master
imdbphp/imdbphp v4.1.1
instituteweb/typo3-cms 6.2.31
integer-net/solr-base 3.3.2 2.1.0 1.0.4

Class usage:

This class is not referred by any other class/interface/traits in packagist packages.