Definition at line 16 of file SyslogHandlerTest.php.
◆ testConstruct()
Monolog\Handler\SyslogHandlerTest::testConstruct |
( |
| ) |
|
Monolog::__construct
Definition at line 21 of file SyslogHandlerTest.php.
References Monolog\Logger\DEBUG.
23 $handler =
new SyslogHandler(
'test');
24 $this->assertInstanceOf(
'Monolog\Handler\SyslogHandler', $handler);
26 $handler =
new SyslogHandler(
'test', LOG_USER);
27 $this->assertInstanceOf(
'Monolog\Handler\SyslogHandler', $handler);
29 $handler =
new SyslogHandler(
'test',
'user');
30 $this->assertInstanceOf(
'Monolog\Handler\SyslogHandler', $handler);
32 $handler =
new SyslogHandler(
'test', LOG_USER,
Logger::DEBUG,
true, LOG_PERROR);
33 $this->assertInstanceOf(
'Monolog\Handler\SyslogHandler', $handler);
const DEBUG
Detailed debug information.
◆ testConstructInvalidFacility()
Monolog\Handler\SyslogHandlerTest::testConstructInvalidFacility |
( |
| ) |
|
Monolog::__construct
Definition at line 39 of file SyslogHandlerTest.php.
41 $this->setExpectedException(
'UnexpectedValueException');
42 $handler =
new SyslogHandler(
'test',
'unknown');
The documentation for this class was generated from the following file: