You are here

public function LoggerTrait::info in Lockr 7.3

Interesting events.

Example: User logs in, SQL logs.

Parameters

string $message:

array $context:

Return value

void

File

vendor/psr/log/Psr/Log/LoggerTrait.php, line 112

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 info($message, array $context = array()) {
  $this
    ->log(LogLevel::INFO, $message, $context);
}