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

farmani/yii2-resque v1.2.2
ortnit/logger dev-master

Class usage:

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