You are here

public function LoggerTrait::notice in Service Container 7.2

Same name and namespace in other branches
  1. 7 lib/Psr/Log/LoggerTrait.php \Psr\Log\LoggerTrait::notice()

Normal but significant events.

Parameters

string $message:

array $context:

Return value

null

File

lib/Psr/Log/LoggerTrait.php, line 91

Class

LoggerTrait
This is a simple Logger trait that classes unable to extend AbstractLogger (because they extend another class, etc) can include.

Namespace

Psr\Log

Code

public function notice($message, array $context = array()) {
  $this
    ->log(LogLevel::NOTICE, $message, $context);
}