MysqlDBHandler
extends AbstractProcessingHandler
in package
Table of Contents
Constants
- DEFAULT_OPT = ['table' => 'db_log']
Properties
Methods
- __construct() : mixed
- getDefaultFormatter() : mixed
- {@inheritdoc}
- write() : mixed
Constants
DEFAULT_OPT
public
mixed
DEFAULT_OPT
= ['table' => 'db_log']
Properties
$_db
public
mixed
$_db
$_opt
public
mixed
$_opt
$_table
public
mixed
$_table
Methods
__construct()
public
__construct(AbstractPdo $db[, mixed $level = Logger::DEBUG ][, mixed $bubble = true ][, array<string|int, mixed> $opt = [] ]) : mixed
Parameters
- $db : AbstractPdo
- $level : mixed = Logger::DEBUG
- $bubble : mixed = true
- $opt : array<string|int, mixed> = []
getDefaultFormatter()
{@inheritdoc}
protected
getDefaultFormatter() : mixed
write()
protected
write(array<string|int, mixed> $record) : mixed
Parameters
- $record : array<string|int, mixed>