mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-06 21:26:43 +02:00
Change the way objects are normalized to avoid multi-levels of json encoding, fixes #560
This commit is contained in:
@@ -34,7 +34,7 @@ class DoctrineCouchDBHandlerTest extends TestCase
|
||||
|
||||
$expected = array(
|
||||
'message' => 'test',
|
||||
'context' => array('data' => '[object] (stdClass: {})', 'foo' => 34),
|
||||
'context' => array('data' => ['stdClass' => []], 'foo' => 34),
|
||||
'level' => Logger::WARNING,
|
||||
'level_name' => 'WARNING',
|
||||
'channel' => 'test',
|
||||
|
Reference in New Issue
Block a user