26 $this->assertEquals(
false, $formatter->isUsingLevelsInTag());
28 $this->assertEquals(
false, $formatter->isUsingLevelsInTag());
30 $this->assertEquals(
true, $formatter->isUsingLevelsInTag());
39 $record[
'datetime'] = new \DateTime(
"@0");
43 '["test",0,{"message":"test","extra":[],"level":300,"level_name":"WARNING"}]',
44 $formatter->format($record)
54 $record[
'datetime'] = new \DateTime(
"@0");
58 '["test.error",0,{"message":"test","extra":[]}]',
59 $formatter->format($record)
const ERROR
Runtime errors.
getRecord($level=Logger::WARNING, $message='test', $context=array())
const WARNING
Exceptional occurrences that are not errors.