Class Symfony\Component\Console\Logger\ConsoleLogger

InheritanceSymfony\Component\Console\Logger\ConsoleLogger » Psr\Log\AbstractLogger
ImplementsPsr\Log\LoggerInterface

PSR-3 compliant console logger.

Public Methods

Hide inherited methods

MethodDescriptionDefined By
__construct() Symfony\Component\Console\Logger\ConsoleLogger
alert() Action must be taken immediately. Psr\Log\AbstractLogger
critical() Critical conditions. Psr\Log\AbstractLogger
debug() Detailed debug information. Psr\Log\AbstractLogger
emergency() System is unusable. Psr\Log\AbstractLogger
error() Runtime errors that do not require immediate action but should typically be logged and monitored. Psr\Log\AbstractLogger
info() Interesting events. Psr\Log\AbstractLogger
log() {@inheritdoc} Symfony\Component\Console\Logger\ConsoleLogger
notice() Normal but significant events. Psr\Log\AbstractLogger
warning() Exceptional occurrences that are not errors. Psr\Log\AbstractLogger

Method Details

__construct() public method

public void __construct ( Symfony\Component\Console\Output\OutputInterface $output, array $verbosityLevelMap = [], array $formatLevelMap = [] )
$output Symfony\Component\Console\Output\OutputInterface
$verbosityLevelMap array
$formatLevelMap array
log() public method

{@inheritdoc}

public void log ( $level, $message, array $context = [] )
$level
$message
$context