PHP Interface Bramus\Monolog\Formatter\ColorSchemes\ColorSchemeInterface

Afficher le fichier Open project: bramus/monolog-colored-line-formatter

Méthodes publiques

Méthode 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 méthode

Get the Color Scheme
public getColorizeArray ( ) : array
Résultat array Color Scheme

getColorizeString() public méthode

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

getResetString() public méthode

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

setColorizeArray() public méthode

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