public function LoggerTrait::info in Service Container 7
Same name and namespace in other branches
- 7.2 lib/Psr/Log/LoggerTrait.php \Psr\Log\LoggerTrait::info()
Interesting events.
Example: User logs in, SQL logs.
Parameters
string $message:
array $context:
Return value
null
File
- lib/
Psr/ Log/ LoggerTrait.php, line 105
Class
- LoggerTrait
- This is a simple Logger trait that classes unable to extend AbstractLogger (because they extend another class, etc) can include.
Namespace
Psr\LogCode
public function info($message, array $context = array()) {
$this
->log(LogLevel::INFO, $message, $context);
}