abstract class LogLevelMap (View source)

Properties

static array $LEVEL_MAP Log level mapping.
static array $LEVEL_COLOUR_MAP Log level colour mapping.

Methods

int
getLevel(string $log_level)

Gets numerical log level value.

array
getColours(string $log_level)

Gets colour.

Details

abstract int getLevel(string $log_level)

Gets numerical log level value.

Parameters

string $log_level Psr\Log\LogLevel

Return Value

int

abstract array getColours(string $log_level)

Gets colour.

Parameters

string $log_level Psr\Log\LogLevel

Return Value

array