PHP Interface Bramus\Monolog\Formatter\ColorSchemes\ColorSchemeInterface

Show file Open project: bramus/monolog-colored-line-formatter

Public Methods

Method Description
getColorizeArray ( ) : array Get the Color Scheme
getColorizeString ( integer $level ) : string Get the Color Scheme String for the given Level
getResetString ( ) : string Get the string identifier that closes/finishes the styling
setColorizeArray ( array $colorScheme ) Set the Color Scheme

Method Details

getColorizeArray() public method

Get the Color Scheme
public getColorizeArray ( ) : array
return array Color Scheme

getColorizeString() public method

Get the Color Scheme String for the given Level
public getColorizeString ( integer $level ) : string
$level integer The Logger Level
return string The Color Scheme String

getResetString() public method

Get the string identifier that closes/finishes the styling
public getResetString ( ) : string
return string The reset code

setColorizeArray() public method

Set the Color Scheme
public setColorizeArray ( array $colorScheme )
$colorScheme array The Color Scheme