class Log implements ContextualAttribute (View source)

Methods

__construct(string|null $channel = null)

Create a new class instance.

static LoggerInterface
resolve(Log $attribute, Container $container)

Resolve the log channel.

Details

__construct(string|null $channel = null)

Create a new class instance.

Parameters

string|null $channel

static LoggerInterface resolve(Log $attribute, Container $container)

Resolve the log channel.

Parameters

Log $attribute
Container $container

Return Value

LoggerInterface