ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
+
Variables
$
c
d
e
f
g
h
i
j
l
m
n
p
s
t
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
§
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
§
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Files
File List
+
Globals
+
All
$
(
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
(
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Typedefs
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Modules
Pages
ErrorLevelActivationStrategy.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\FingersCrossed
;
13
14
use
Monolog\Logger
;
15
21
class
ErrorLevelActivationStrategy
implements
ActivationStrategyInterface
22
{
23
private
$actionLevel
;
24
25
public
function
__construct
(
$actionLevel
)
26
{
27
$this->actionLevel =
Logger::toMonologLevel
(
$actionLevel
);
28
}
29
30
public
function
isHandlerActivated
(array $record)
31
{
32
return
$record[
'level'
] >=
$this->actionLevel
;
33
}
34
}
Monolog\Handler\FingersCrossed\ErrorLevelActivationStrategy\$actionLevel
$actionLevel
Definition:
ErrorLevelActivationStrategy.php:23
Monolog\Handler\FingersCrossed\ErrorLevelActivationStrategy
Error level based activation strategy.
Definition:
ErrorLevelActivationStrategy.php:21
Monolog\Logger\toMonologLevel
static toMonologLevel($level)
Converts PSR-3 levels to Monolog ones if necessary.
Definition:
Logger.php:528
Logger
Monolog\Handler\FingersCrossed\ErrorLevelActivationStrategy\isHandlerActivated
isHandlerActivated(array $record)
Returns whether the given record activates the handler.
Definition:
ErrorLevelActivationStrategy.php:30
Monolog\Handler\FingersCrossed
Definition:
ActivationStrategyInterface.php:12
Monolog\Handler\FingersCrossed\ActivationStrategyInterface
Interface for activation strategies for the FingersCrossedHandler.
Definition:
ActivationStrategyInterface.php:19
Monolog\Handler\FingersCrossed\ErrorLevelActivationStrategy\__construct
__construct($actionLevel)
Definition:
ErrorLevelActivationStrategy.php:25
php
libs
composer
vendor
monolog
monolog
src
Monolog
Handler
FingersCrossed
ErrorLevelActivationStrategy.php
Generated on Thu Apr 17 2025 19:01:22 for ILIAS by
1.8.13 (using
Doxyfile
)