ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
NullHandler.php
Go to the documentation of this file.
1
<?
php
2
3
/*
4
* This file is part of the Monolog package.
5
*
6
* (c) Jordi Boggiano <j.boggiano@seld.be>
7
*
8
* For the full copyright and license information, please view the LICENSE
9
* file that was distributed with this source code.
10
*/
11
12
namespace
Monolog\Handler
;
13
14
use
Monolog\Logger
;
15
24
class
NullHandler
extends
AbstractHandler
25
{
29
public
function
__construct
(
$level
=
Logger::DEBUG
)
30
{
31
parent::__construct(
$level
,
false
);
32
}
33
37
public
function
handle
(array $record)
38
{
39
if
($record[
'level'
] < $this->level) {
40
return
false
;
41
}
42
43
return
true
;
44
}
45
}
Monolog\Handler
Definition:
AbstractHandler.php:12
Monolog\Handler\AbstractHandler
Base Handler class providing the Handler structure.
Definition:
AbstractHandler.php:24
Monolog\Logger\DEBUG
const DEBUG
Detailed debug information.
Definition:
Logger.php:33
Logger
Monolog\Handler\NullHandler
Blackhole.
Definition:
NullHandler.php:24
Monolog\Handler\AbstractHandler\$level
$level
Definition:
AbstractHandler.php:26
php
Monolog\Handler\NullHandler\handle
handle(array $record)
{Handles a record.All records may be passed to this method, and the handler should discard those that...
Definition:
NullHandler.php:37
Monolog\Handler\NullHandler\__construct
__construct($level=Logger::DEBUG)
Definition:
NullHandler.php:29
libs
composer
vendor
monolog
monolog
src
Monolog
Handler
NullHandler.php
Generated on Thu Jan 16 2025 19:01:43 for ILIAS by
1.8.13 (using
Doxyfile
)