class DbalLogger implements SQLLogger

Constants

MAX_STRING_LENGTH

BINARY_DATA_VALUE

Properties

protected $logger
protected $stopwatch

Methods

__construct(LoggerInterface $logger = null, Stopwatch $stopwatch = null)

No description

startQuery($sql, array $params = null, array $types = null)

{@inheritdoc}

stopQuery()

{@inheritdoc}

log(string $message, array $params)

Logs a message.

Details

at line 29
__construct(LoggerInterface $logger = null, Stopwatch $stopwatch = null)

Parameters

LoggerInterface $logger
Stopwatch $stopwatch

at line 38
startQuery($sql, array $params = null, array $types = null)

{@inheritdoc}

Parameters

$sql
array $params
array $types

at line 52
stopQuery()

{@inheritdoc}

at line 65
protected log(string $message, array $params)

Logs a message.

Parameters

string $message A message to log
array $params The context