Back to Joomla project (class list)

Class DelegatingPsrLogger - list of methods

Delegating logger which delegates log messages received from the PSR-3 interface to the Joomla! Log object.
Package: Joomla\CMS\Log
Copyright: (C) 2017 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
Located at: Joomla/Log/DelegatingPsrLogger.php
Project: Joomla

Method Summary

public
(\Joomla\CMS\Log\Log $logger)

Constructor.
Parameters
  • \Joomla\CMS\Log\Log $logger The Log instance to delegate messages to.
Since
  • 3.8.0
Show source code of this method: __construct Source Code

public void
(mixed $level, mixed $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.
Returns
  • void
Since
  • 3.8.0
-
  • \Psr\Log\InvalidArgumentException
Show source code of this method: log Source Code

Properties Summary

protected \Joomla\CMS\Log\Log
$logger
The Log instance to delegate messages to.
Since
  • 3.8.0
protected array
$priorityMap
Mapping array to map a PSR-3 level to a Joomla priority.
Since
  • 3.8.0

Tags Summary

Since
3.8.0