DelegatingPsrLogger
Extends \Psr\Log\AbstractLoggerDelegating logger which delegates log messages received from the PSR-3 interface to the Joomla! Log object.
since |
3.8.0 |
---|---|
package |
Joomla CMS |
Methods
__construct
Constructor.
__construct(\Joomla\CMS\Log\Log logger) : mixed
since |
3.8.0 |
---|
Arguments
- logger
\Joomla\CMS\Log\Log
The Log instance to delegate messages to.
Response
mixed
log
Logs with an arbitrary level.
log(mixed level, string message, array context = array()) : void
since |
3.8.0 |
---|---|
throws |
|
Arguments
- level
mixed
The log level.- message
string
The log message.- context
array
Additional message context.