mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-20 16:16:37 +02:00
Convert level/levelName to enums (#1656)
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
|
||||
namespace Monolog\Formatter;
|
||||
|
||||
use Monolog\Logger;
|
||||
use Monolog\Level;
|
||||
use Monolog\Test\TestCase;
|
||||
|
||||
class ElasticsearchFormatterTest extends TestCase
|
||||
@@ -25,7 +25,7 @@ class ElasticsearchFormatterTest extends TestCase
|
||||
{
|
||||
// Test log message
|
||||
$msg = $this->getRecord(
|
||||
Logger::ERROR,
|
||||
Level::Error,
|
||||
'log',
|
||||
channel: 'meh',
|
||||
context: ['foo' => 7, 'bar', 'class' => new \stdClass],
|
||||
|
Reference in New Issue
Block a user