mirror of
https://github.com/Seldaek/monolog.git
synced 2025-07-31 18:30:15 +02:00
Better PSR-3 message formatting
This commit is contained in:
@@ -68,7 +68,11 @@ class PsrLogMessageProcessorTest extends \PHPUnit\Framework\TestCase
|
||||
[false, ''],
|
||||
[$date, $date->format(PsrLogMessageProcessor::SIMPLE_DATE)],
|
||||
[new \stdClass, '[object stdClass]'],
|
||||
[[], '[array]'],
|
||||
[[], 'array[]'],
|
||||
[[], 'array[]'],
|
||||
[[1, 2, 3], 'array[1,2,3]'],
|
||||
[['foo' => 'bar'], 'array{"foo":"bar"}'],
|
||||
[stream_context_create(), '[resource]'],
|
||||
];
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user