public function LoggerBase::info in Service Container 7
Same name and namespace in other branches
- 7.2 src/Logger/LoggerBase.php \Drupal\service_container\Logger\LoggerBase::info()
Interesting events.
Example: User logs in, SQL logs.
Parameters
string $message:
array $context:
Return value
null
Overrides LoggerInterface::info
File
- src/
Logger/ LoggerBase.php, line 63 - Contains \Drupal\service_container\Logger\LoggerBase.
Class
- LoggerBase
- Provides a common base class for loggers to reduce boilerplate code.
Namespace
Drupal\service_container\LoggerCode
public function info($message, array $context = array()) {
return $this
->log(LogLevel::INFO, $message, $context);
}