class DelegatingPsrLogger extends AbstractLogger

Delegating logger which delegates log messages received from the PSR-3 interface to the Joomla! Log object.

Methods

__construct( Log $logger)

Constructor.

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

Logs with an arbitrary level.

Details

__construct( Log $logger)

Constructor.

Parameters

Log $logger The Log instance to delegate messages to.

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

Logs with an arbitrary level.

Parameters

mixed $level The log level.
string $message The log message.
array $context Additional message context.

Return Value

void

Exceptions

InvalidArgumentException