37 if (!extension_loaded(
'openssl')) {
38 $this->markTestSkipped(
'This test requires openssl extension to run');
50 $this->assertEquals(
Logger::DEBUG, $this->handler->getLevel());
51 $this->assertEquals(
true, $this->handler->getBubble());
64 'channel' =>
'channel',
69 $expectedFormatter =
new LineFormatter(null, null,
true,
true);
70 $expected = $expectedFormatter->format($record);
72 $handlerFormatter = $this->handler->getFormatter();
73 $actual = $handlerFormatter->format($record);
75 $this->assertEquals($expected, $actual,
'Empty context and extra arrays should not be rendered');
const DEBUG
Detailed debug information.
testHandlerUsesLineFormatterWhichIgnoresEmptyArrays()
::getDefaultFormatter
Sends logs to Fleep.io using Webhook integrations.
Create styles array
The data for the language used.
testConnectionStringisConstructedCorrectly()
::__construct
static getLevelName($level)
Gets the name of the logging level.
const TOKEN
Default token to use in tests.
testConstructorSetsExpectedDefaults()
::__construct