You are here

public function LoggerBase::debug in Service Container 7

Same name and namespace in other branches
  1. 7.2 src/Logger/LoggerBase.php \Drupal\service_container\Logger\LoggerBase::debug()

Detailed debug information.

Parameters

string $message:

array $context:

Return value

null

Overrides LoggerInterface::debug

File

src/Logger/LoggerBase.php, line 70
Contains \Drupal\service_container\Logger\LoggerBase.

Class

LoggerBase
Provides a common base class for loggers to reduce boilerplate code.

Namespace

Drupal\service_container\Logger

Code

public function debug($message, array $context = array()) {
  return $this
    ->log(LogLevel::DEBUG, $message, $context);
}