use Symfony\Bridge\Monolog\Logger;
use Symfony\Bridge\Monolog\Processor\DebugProcessor;
use Symfony\Component\HttpFoundation\Request;
/**
* @group legacy
*/
class LoggerTest extends TestCase
{ public function testGetLogsWithoutDebugProcessor() { $handler =
new TestHandler();
$logger =
new Logger(__METHOD__,
[$handler]);
$logger->
error('error message'
);
$this->
assertSame([],
$logger->
getLogs());
} public function testCountErrorsWithoutDebugProcessor() { $handler =
new TestHandler();
$logger =
new Logger(__METHOD__,
[$handler]);