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.

log(mixed $level, string $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

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

No description

Parameters

mixed $level
string $message
array $context

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