LogDbHandler
extends AbstractProcessingHandler
Table of Contents
Properties
-
$pdo
: mixed
-
$additionalFields
: mixed
-
$defaultfields
: mixed
-
$fields
: mixed
-
$initialized
: mixed
-
$statement
: mixed
-
$table
: mixed
Methods
-
__construct()
: mixed
-
write()
: mixed
-
initialize()
: mixed
-
prepareStatement()
: mixed
$pdo
protected
mixed
$pdo
$additionalFields
private
mixed
$additionalFields
= array()
$defaultfields
private
mixed
$defaultfields
= array('id', 'channel', 'level', 'message', 'time')
$fields
private
mixed
$fields
= array()
$initialized
private
mixed
$initialized
= false
$statement
private
mixed
$statement
$table
private
mixed
$table
= 'log'
__construct()
public
__construct([PDO $pdo = null ], mixed $table[, mixed $additionalFields = array() ][, mixed $level = Logger::DEBUG ][, mixed $bubble = true ]) : mixed
Parameters
-
$pdo
: PDO
= null
-
-
$table
: mixed
-
-
$additionalFields
: mixed
= array()
-
-
$level
: mixed
= Logger::DEBUG
-
-
$bubble
: mixed
= true
-
write()
protected
write(array<string|int, mixed> $record) : mixed
Parameters
-
$record
: array<string|int, mixed>
-
initialize()
private
initialize() : mixed
prepareStatement()
private
prepareStatement() : mixed