PropelLogger

class PropelLogger implements BasicLogger

PropelLogger.

Methods

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

Constructor.

alert($message)

{@inheritdoc}

crit($message)

{@inheritdoc}

err($message)

{@inheritdoc}

warning($message)

{@inheritdoc}

notice($message)

{@inheritdoc}

info($message)

{@inheritdoc}

debug($message)

{@inheritdoc}

log($message, $severity = null)

{@inheritdoc}

array getQueries()

Returns queries.

Details

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

Constructor.

Parameters

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

alert($message)

{@inheritdoc}

Parameters

$message

crit($message)

{@inheritdoc}

Parameters

$message

err($message)

{@inheritdoc}

Parameters

$message

warning($message)

{@inheritdoc}

Parameters

$message

notice($message)

{@inheritdoc}

Parameters

$message

info($message)

{@inheritdoc}

Parameters

$message

debug($message)

{@inheritdoc}

Parameters

$message

log($message, $severity = null)

{@inheritdoc}

Parameters

$message
$severity

array getQueries()

Returns queries.

Return Value

array Queries

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Bridge/Propel1/Logger/PropelLogger.html