class Logger implements LoggerInterface (View source)

PSR-3 supporting logger.

This is the primary Logger implementation of the Neos.Flow.Log package.

Traits

LoggerTrait

Constants

LOGLEVEL_MAPPING

Properties

protected BackendInterface[] $backends

Methods

__construct(iterable $backends)

Constructs the PSR-3 Logger.

void
log(mixed $level, string|Stringable $message, array $context = [])

No description

array
extractLegacyDataFromContext(array $context)

No description

array
removeLegacyDataFromContext(array $context)

No description

Details

__construct(iterable $backends)

Constructs the PSR-3 Logger.

Parameters

iterable $backends

void log(mixed $level, string|Stringable $message, array $context = [])

No description

Parameters

mixed $level
string|Stringable $message
array $context

Return Value

void

protected array extractLegacyDataFromContext(array $context)

No description

Parameters

array $context

Return Value

array

list of packageKey, className and methodName either string or null

protected array removeLegacyDataFromContext(array $context)

No description

Parameters

array $context

Return Value

array