1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-08 22:26:41 +02:00

Migrate maxNormalizeDepth/maxNormalizeItemCount props and setters to NormalizerFormatter

This commit is contained in:
Jordi Boggiano
2018-06-08 23:09:04 +02:00
parent 518288c5c5
commit 800fe2cc1a
4 changed files with 97 additions and 35 deletions

View File

@@ -166,12 +166,12 @@ class JsonFormatterTest extends TestCase
}
/**
* @param JsonFormatter $formatter
* @param \Exception|\Throwable $exception
* @param JsonFormatter $formatter
* @param \Throwable $exception
*
* @return string
*/
private function formatRecordWithExceptionInContext(JsonFormatter $formatter, $exception)
private function formatRecordWithExceptionInContext(JsonFormatter $formatter, \Throwable $exception)
{
$message = $formatter->format([
'level_name' => 'CRITICAL',