class ConsoleLogger extends AbstractLogger

PSR-3 compliant console logger.

Constants

INFO

ERROR

Methods

__construct(OutputInterface $output, array $verbosityLevelMap = array(), array $formatLevelMap = array())

No description

log($level, $message, array $context = array())

{@inheritdoc}

bool
hasErrored()

Returns true when any messages have been logged at error levels.

Details

at line 55
__construct(OutputInterface $output, array $verbosityLevelMap = array(), array $formatLevelMap = array())

Parameters

OutputInterface $output
array $verbosityLevelMap
array $formatLevelMap

at line 65
log($level, $message, array $context = array())

{@inheritdoc}

Parameters

$level
$message
array $context

at line 93
bool hasErrored()

Returns true when any messages have been logged at error levels.

Return Value

bool