lib/Monolog/Handler/ConsoleHandler.php
public function setColor($level, $foreground_color = 'white', $background_color = null)
	{
		if (array_key_exists($level, $this->levels))
		{
			$this->levels[$level][0] = $foreground_color;
			$this->levels[$level][1] = $background_color;
		}

		return $this;
	}
public function setColor($level, $foreground_color = 'white', $background_color = null)
	{
		if (array_key_exists($level, $this->levels))
		{
			$this->levels[$level][0] = $foreground_color;
			$this->levels[$level][1] = $background_color;
		}

		return $this;
	}
public function setColor ( $ level , $ foreground_color = 'white' , $ background_color = null ) { if ( array_key_exists ( $ level , $ this -> levels ) ) { $ this -> levels [ $ level ] [ 0 ] = $ foreground_color ; $ this -> levels [ $ level ] [ 1 ] = $ background_color ; } return $ this ; }
Sets the colors for a level

@param integer     $level
@param string      $foreground_color
@param string|null $background_color

@return this
Sets the colors for a level