Class

Symfony\Bridge\Doctrine\Logger\DbalLogger

class DbalLogger implements SQLLogger

DbalLogger.

Constants

MAX_STRING_LENGTH

BINARY_DATA_VALUE

Methods

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

Constructor.

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

{@inheritdoc}

stopQuery()

{@inheritdoc}

Details

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

Constructor.

Parameters

LoggerInterface $logger A LoggerInterface instance
Stopwatch $stopwatch A Stopwatch instance

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

{@inheritdoc}

Parameters

$sql
array $params
array $types

at line 87
public stopQuery()

{@inheritdoc}