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

Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.