1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-14 09:04:15 +02:00

Adjust NullHandler for clarity

This commit is contained in:
Jordi Boggiano
2012-01-04 13:12:00 +01:00
parent 30396e97c1
commit 8e11234066

View File

@@ -23,6 +23,14 @@ use Monolog\Logger;
*/ */
class NullHandler extends AbstractHandler class NullHandler extends AbstractHandler
{ {
/**
* @param integer $level The minimum logging level at which this handler will be triggered
*/
public function __construct($level = Logger::DEBUG)
{
parent::__construct($level, false);
}
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */