Definition at line 16 of file ChromePHPFormatterTest.php.
◆ testBatchFormatThrowException()
Monolog\Formatter\ChromePHPFormatterTest::testBatchFormatThrowException |
( |
| ) |
|
Monolog::formatBatch
Definition at line 116 of file ChromePHPFormatterTest.php.
References $records, array, Monolog\Logger\INFO, and Monolog\Logger\WARNING.
118 $formatter =
new ChromePHPFormatter();
122 'level_name' =>
'INFO',
124 'context' =>
array(),
125 'datetime' =>
new \DateTime(
"@0"),
131 'level_name' =>
'WARNING',
133 'context' =>
array(),
134 'datetime' =>
new \DateTime(
"@0"),
const WARNING
Exceptional occurrences that are not errors.
Create styles array
The data for the language used.
const INFO
Interesting events.
◆ testDefaultFormat()
Monolog\Formatter\ChromePHPFormatterTest::testDefaultFormat |
( |
| ) |
|
Monologformat
Definition at line 21 of file ChromePHPFormatterTest.php.
References array, and Monolog\Logger\ERROR.
23 $formatter =
new ChromePHPFormatter();
26 'level_name' =>
'ERROR',
28 'context' =>
array(
'from' =>
'logger'),
29 'datetime' =>
new \DateTime(
"@0"),
30 'extra' =>
array(
'ip' =>
'127.0.0.1'),
34 $message = $formatter->format($record);
41 'context' =>
array(
'from' =>
'logger'),
42 'extra' =>
array(
'ip' =>
'127.0.0.1'),
const ERROR
Runtime errors.
Create styles array
The data for the language used.
◆ testFormatWithFileAndLine()
Monolog\Formatter\ChromePHPFormatterTest::testFormatWithFileAndLine |
( |
| ) |
|
Monologformat
Definition at line 54 of file ChromePHPFormatterTest.php.
References array, and Monolog\Logger\CRITICAL.
56 $formatter =
new ChromePHPFormatter();
59 'level_name' =>
'CRITICAL',
61 'context' =>
array(
'from' =>
'logger'),
62 'datetime' =>
new \DateTime(
"@0"),
63 'extra' =>
array(
'ip' =>
'127.0.0.1',
'file' =>
'test',
'line' => 14),
67 $message = $formatter->format($record);
74 'context' =>
array(
'from' =>
'logger'),
75 'extra' =>
array(
'ip' =>
'127.0.0.1'),
Create styles array
The data for the language used.
const CRITICAL
Critical conditions.
◆ testFormatWithoutContext()
Monolog\Formatter\ChromePHPFormatterTest::testFormatWithoutContext |
( |
| ) |
|
Monologformat
Definition at line 87 of file ChromePHPFormatterTest.php.
References array, and Monolog\Logger\DEBUG.
89 $formatter =
new ChromePHPFormatter();
92 'level_name' =>
'DEBUG',
95 'datetime' =>
new \DateTime(
"@0"),
100 $message = $formatter->format($record);
const DEBUG
Detailed debug information.
Create styles array
The data for the language used.
The documentation for this class was generated from the following file: