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

Moved the channel as label on the FirePHP message for a better formatting

This commit is contained in:
Christophe Coevoet
2011-06-01 00:43:09 +02:00
parent c1675c59d8
commit e9f3e0c2d7
3 changed files with 9 additions and 8 deletions

View File

@@ -31,7 +31,7 @@ class WildfireFormatterTest extends \PHPUnit_Framework_TestCase
$message = $wildfire->format($record);
$this->assertEquals(
'75|[{"Type":"ERROR","File":"","Line":""},"meh: log [] {\\"ip\\":\\"127.0.0.1\\"}"]|',
'84|[{"Type":"ERROR","File":"","Line":"","Label":"meh"},"log [] {\\"ip\\":\\"127.0.0.1\\"}"]|',
$message
);
}