Analyzing class Jitesoft\Log\PDOLogger
Description
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
-
jitesoft/loggers 1.3.1