mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-05 04:37:38 +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
|
||||
$json = json_encode(array(
|
||||
array(
|
||||
'Type' => $this->logLevels($record['level']),
|
||||
'Type' => $this->logLevels[$record['level']],
|
||||
'File' => '',
|
||||
'Line' => '',
|
||||
),
|
||||
|
@@ -34,6 +34,7 @@ class WildfireFormatterTest extends \PHPUnit_Framework_TestCase
|
||||
public function recordProvider()
|
||||
{
|
||||
$record = array(
|
||||
'level' => Logger::ERROR,
|
||||
'level_name' => 'ERROR',
|
||||
'channel' => 'meh',
|
||||
'datetime' => new \DateTime,
|
||||
|
Reference in New Issue
Block a user