34 $this->assertEquals(
false,
$handler->getBubble());
40 $this->assertEquals(
true,
$handler->getBubble());
41 $this->assertSame($formatter,
$handler->getFormatter());
49 $handler = $this->getMockForAbstractClass(
'Monolog\Handler\AbstractHandler');
61 $this->assertTrue(
$handler->isHandling($this->getRecord()));
70 $handler = $this->getMockForAbstractClass(
'Monolog\Handler\AbstractHandler',
array(
'warning',
false));
82 $handler = $this->getMockForAbstractClass(
'Monolog\Handler\AbstractHandler');
83 $this->assertInstanceOf(
'Monolog\Formatter\LineFormatter',
$handler->getFormatter());
93 $logger = $this->getMockForAbstractClass(
'Monolog\Handler\AbstractHandler');
97 $logger->pushProcessor($processor1);
98 $logger->pushProcessor($processor2);
100 $this->assertEquals($processor2, $logger->popProcessor());
101 $this->assertEquals($processor1, $logger->popProcessor());
102 $logger->popProcessor();
111 $handler = $this->getMockForAbstractClass(
'Monolog\Handler\AbstractHandler');
113 $handler->pushProcessor(
new \stdClass());
const DEBUG
Detailed debug information.
const ERROR
Runtime errors.
testPushProcessorWithNonCallable()
Monolog::pushProcessor InvalidArgumentException
Injects url/method and remote IP of the current web request in all records.
getRecord($level=Logger::WARNING, $message='test', $context=array())
testIsHandling()
Monolog::isHandling
testHandleBatch()
Monolog::handleBatch
testGetFormatterInitializesDefault()
Monolog::getFormatter Monolog::getDefaultFormatter
testHandlesPsrStyleLevels()
Monolog::__construct
const WARNING
Exceptional occurrences that are not errors.
Create styles array
The data for the language used.
testConstructAndGetSet()
Monolog::__construct Monolog::getLevel Monolog::setLevel Monolog::getBubble Monolog::setBubble M...
testPushPopProcessor()
Monolog::pushProcessor Monolog::popProcessor LogicException