ILIAS  release_5-2 Revision v5.2.25-18-g3f80b82851
Monolog\Handler\FingersCrossed\ErrorLevelActivationStrategy Class Reference

Error level based activation strategy. More...

+ Inheritance diagram for Monolog\Handler\FingersCrossed\ErrorLevelActivationStrategy:
+ Collaboration diagram for Monolog\Handler\FingersCrossed\ErrorLevelActivationStrategy:

Public Member Functions

 __construct ($actionLevel)
 
 isHandlerActivated (array $record)
 Returns whether the given record activates the handler. More...
 

Private Attributes

 $actionLevel
 

Detailed Description

Error level based activation strategy.

Author
Johannes M. Schmitt schmi.nosp@m.ttjo.nosp@m.h@gma.nosp@m.il.c.nosp@m.om

Definition at line 21 of file ErrorLevelActivationStrategy.php.

Constructor & Destructor Documentation

◆ __construct()

Monolog\Handler\FingersCrossed\ErrorLevelActivationStrategy::__construct (   $actionLevel)

Definition at line 25 of file ErrorLevelActivationStrategy.php.

References Monolog\Handler\FingersCrossed\ErrorLevelActivationStrategy\$actionLevel, and Monolog\Logger\toMonologLevel().

26  {
27  $this->actionLevel = Logger::toMonologLevel($actionLevel);
28  }
static toMonologLevel($level)
Converts PSR-3 levels to Monolog ones if necessary.
Definition: Logger.php:473
+ Here is the call graph for this function:

Member Function Documentation

◆ isHandlerActivated()

Monolog\Handler\FingersCrossed\ErrorLevelActivationStrategy::isHandlerActivated ( array  $record)

Returns whether the given record activates the handler.

Parameters
array$record
Returns
Boolean

Implements Monolog\Handler\FingersCrossed\ActivationStrategyInterface.

Definition at line 30 of file ErrorLevelActivationStrategy.php.

References Monolog\Handler\FingersCrossed\ErrorLevelActivationStrategy\$actionLevel.

Field Documentation

◆ $actionLevel

Monolog\Handler\FingersCrossed\ErrorLevelActivationStrategy::$actionLevel
private

The documentation for this class was generated from the following file: