mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-04 20:27:31 +02:00
Fixed previous commit
This commit is contained in:
@@ -55,7 +55,7 @@ class WildfireFormatter extends LineFormatter implements FormatterInterface
|
|||||||
// Create JSON object describing the appearance of the message in the console
|
// Create JSON object describing the appearance of the message in the console
|
||||||
$json = json_encode(array(
|
$json = json_encode(array(
|
||||||
array(
|
array(
|
||||||
'Type' => $this->logLevels($record['level']),
|
'Type' => $this->logLevels[$record['level']],
|
||||||
'File' => '',
|
'File' => '',
|
||||||
'Line' => '',
|
'Line' => '',
|
||||||
),
|
),
|
||||||
|
@@ -34,6 +34,7 @@ class WildfireFormatterTest extends \PHPUnit_Framework_TestCase
|
|||||||
public function recordProvider()
|
public function recordProvider()
|
||||||
{
|
{
|
||||||
$record = array(
|
$record = array(
|
||||||
|
'level' => Logger::ERROR,
|
||||||
'level_name' => 'ERROR',
|
'level_name' => 'ERROR',
|
||||||
'channel' => 'meh',
|
'channel' => 'meh',
|
||||||
'datetime' => new \DateTime,
|
'datetime' => new \DateTime,
|
||||||
|
Reference in New Issue
Block a user