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

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

Constructor.

Parameters

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

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

{@inheritdoc}

Parameters

$sql
array $params
array $types

stopQuery()

{@inheritdoc}

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Bridge/Doctrine/Logger/DbalLogger.html