W3cubDocs

/Drupal 8

abstract public function RfcLoggerTrait::log

abstract public RfcLoggerTrait::log($level, $message, array $context = array())

File

core/lib/Drupal/Core/Logger/RfcLoggerTrait.php, line 76

Class

RfcLoggerTrait
A copy of \Psr\Log\LoggerTrait that uses RFC 5424 compliant log levels.

Namespace

Drupal\Core\Logger

Code

abstract public function log($level, $message, array $context = array());

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Logger!RfcLoggerTrait.php/function/RfcLoggerTrait::log/8.1.x