mirror of
https://github.com/Seldaek/monolog.git
synced 2025-07-31 02:10:22 +02:00
Use facility additional value and not channel to be compat with existing Monolog 3 code
This commit is contained in:
@@ -62,7 +62,7 @@ class GelfHandlerTest extends TestCase
|
||||
if (self::isGelfVersion1()) {
|
||||
$expectedMessage->setFacility("test");
|
||||
} else {
|
||||
$expectedMessage->setAdditional('channel', "test");
|
||||
$expectedMessage->setAdditional('facility', "test");
|
||||
}
|
||||
|
||||
$messagePublisher = $this->getMessagePublisher();
|
||||
@@ -88,7 +88,7 @@ class GelfHandlerTest extends TestCase
|
||||
if (self::isGelfVersion1()) {
|
||||
$expectedMessage->setFacility("test");
|
||||
} else {
|
||||
$expectedMessage->setAdditional('channel', "test");
|
||||
$expectedMessage->setAdditional('facility', "test");
|
||||
}
|
||||
|
||||
$messagePublisher = $this->getMessagePublisher();
|
||||
@@ -120,7 +120,7 @@ class GelfHandlerTest extends TestCase
|
||||
if (self::isGelfVersion1()) {
|
||||
$expectedMessage->setFacility("test");
|
||||
} else {
|
||||
$expectedMessage->setAdditional('channel', "test");
|
||||
$expectedMessage->setAdditional('facility', "test");
|
||||
}
|
||||
|
||||
$messagePublisher = $this->getMessagePublisher();
|
||||
|
Reference in New Issue
Block a user