Skip to content

Latest commit

 

History

History
14 lines (12 loc) · 306 Bytes

logging.md

File metadata and controls

14 lines (12 loc) · 306 Bytes

Symfony logging

/* @var $logger \Symfony\Bridge\Monolog\Logger */
$logger = $this->getContainer()->get('logger');

$logger->info('Info');
$logger->debug('Debug');
$logger->warning('Warning');
$logger->error('Error');
$logger->critical('Critical');
$logger->emergency('Emergency');