public function RfcLoggerTrait::info

public RfcLoggerTrait::info($message, array $context = array())

Interesting events.

Example: User logs in, SQL logs.

Parameters

string $message:

array $context:

Return value

null

Overrides LoggerInterface::info

File

core/lib/Drupal/Core/Logger/RfcLoggerTrait.php, line 62

Class

RfcLoggerTrait
A copy of \Psr\Log\LoggerTrait that uses RFC 5424 compliant log levels.

Namespace

Drupal\Core\Logger

Code

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Logger!RfcLoggerTrait.php/function/RfcLoggerTrait::info/8.1.x