mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-05 12:47:39 +02:00
After Logger::toMonologLevel string|int is normalized to int
This commit is contained in:
@@ -36,7 +36,7 @@ use Monolog\Logger;
|
||||
class ChannelLevelActivationStrategy implements ActivationStrategyInterface
|
||||
{
|
||||
/**
|
||||
* @var string|int
|
||||
* @var int
|
||||
*/
|
||||
private $defaultActionLevel;
|
||||
|
||||
@@ -46,8 +46,8 @@ class ChannelLevelActivationStrategy implements ActivationStrategyInterface
|
||||
private $channelToActionLevel;
|
||||
|
||||
/**
|
||||
* @param int $defaultActionLevel The default action level to be used if the record's category doesn't match any
|
||||
* @param array $channelToActionLevel An array that maps channel names to action levels.
|
||||
* @param string|int $defaultActionLevel The default action level to be used if the record's category doesn't match any
|
||||
* @param array $channelToActionLevel An array that maps channel names to action levels.
|
||||
*/
|
||||
public function __construct($defaultActionLevel, array $channelToActionLevel = [])
|
||||
{
|
||||
|
Reference in New Issue
Block a user