public LoggerChannel::log($level, $message, array $context = array())
Logs with an arbitrary level.
Parameters
mixed $level:
string $message:
array $context:
Return value
null
Overrides LoggerTrait::log
File
core/lib/Drupal/Core/Logger/LoggerChannel.php, line 94
Class
LoggerChannel Defines a logger channel that most implementations will use.
Namespace
Drupal\Core\Logger
Code
public function log($level, $message, array $context = array()) {
if ($this->callDepth == self::MAX_CALL_