public function setColorizeArray(array $colorScheme)
    {
        // Only store entries that exist as Monolog\Logger levels
        $allowedLogLevels = array_values(\Monolog\Logger::getLevels());
        $colorScheme = array_intersect_key($colorScheme, array_flip($allowedLogLevels));

        // Store the filtered colorScheme
        $this->colorScheme = $colorScheme;
    }
public function setColorizeArray(array $colorScheme)
    {
        // Only store entries that exist as Monolog\Logger levels
        $allowedLogLevels = array_values(\Monolog\Logger::getLevels());
        $colorScheme = array_intersect_key($colorScheme, array_flip($allowedLogLevels));

        // Store the filtered colorScheme
        $this->colorScheme = $colorScheme;
    }
public function setColorizeArray ( array $ colorScheme ) { // Only store entries that exist as Monolog\Logger levels $ allowedLogLevels = array_values ( \ Monolog \ Logger :: getLevels ( ) ) ; $ colorScheme = array_intersect_key ( $ colorScheme , array_flip ( $ allowedLogLevels ) ) ; // Store the filtered colorScheme $ this -> colorScheme = $ colorScheme ; }
Set the Color Scheme Array
@param array $colorScheme The Color Scheme Array
Set the Color Scheme Array