$limit
$limit : integer
Log limit
Db log writer class
$db : \Pop\Db\Adapter\AbstractAdapter
DB adapter
setLogLimit(integer $level) : \Pop\Log\Writer\AbstractWriter
Set log limit
integer | $level |
writeLog(mixed $level, string $message, array $context = array()) : \Pop\Log\Writer\Db
Write to the log
mixed | $level | |
string | $message | |
array | $context |
__construct(\Pop\Db\Adapter\AbstractAdapter $db, string $table = 'pop_log')
Constructor
Instantiate the DB writer object
The DB table requires the following fields at a minimum: timestamp DATETIME level INT name VARCHAR message TEXT, VARCHAR, etc. context TEXT, VARCHAR, etc.
\Pop\Db\Adapter\AbstractAdapter | $db | |
string | $table |