You are here

public function AbstractLogger::info in Service Container 7.2

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

Interesting events.

Example: User logs in, SQL logs.

Parameters

string $message:

array $context:

Return value

null

Overrides LoggerInterface::info

File

lib/Psr/Log/AbstractLogger.php, line 104

Class

AbstractLogger
This is a simple Logger implementation that other Loggers can inherit from.

Namespace

Psr\Log

Code

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