ParsesLogConfiguration

trait ParsesLogConfiguration (View source)

Properties

protected array $levels The Log levels.

Methods

string getFallbackChannelName()

Get fallback log channel name.

int level(array $config)

Parse the string level into a Monolog constant.

string parseChannel(array $config)

Extract the log channel from the given configuration.

Details

abstract protected string getFallbackChannelName()

Get fallback log channel name.

Return Value

string

protected int level(array $config)

Parse the string level into a Monolog constant.

Parameters

array $config

Return Value

int

Exceptions

InvalidArgumentException

protected string parseChannel(array $config)

Extract the log channel from the given configuration.

Parameters

array $config

Return Value

string

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.7/Illuminate/Log/ParsesLogConfiguration.html