You are here

public function LoggerBase::notice in Service Container 7.2

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

Normal but significant events.

Parameters

string $message:

array $context:

Return value

null

Overrides LoggerInterface::notice

File

src/Logger/LoggerBase.php, line 56
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 notice($message, array $context = array()) {
  return $this
    ->log(LogLevel::NOTICE, $message, $context);
}