class LineFormatter extends LineFormatter (View source)

Methods

__construct()

Create a new line formatter instance.

string
format(LogRecord $record)

{@inheritdoc}

string
level(Level $level)

Get the styled console label for the given log level.

Details

__construct()

Create a new line formatter instance.

string format(LogRecord $record)

{@inheritdoc}

Parameters

LogRecord $record

Return Value

string

protected string level(Level $level)

Get the styled console label for the given log level.

Parameters

Level $level

Return Value

string