RfcLoggerTrait::notice

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

Normal but significant events.

Parameters

string $message:

array $context:

Return value

null

Overrides LoggerInterface::notice

File

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

Class

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

Namespace

Drupal\Core\Logger

Code

public function notice($message, array $context = array()) {
  $this->log(RfcLogLevel::NOTICE, $message, $context);
}
doc_Drupal
2016-10-29 09:38:36
Comments
Leave a Comment

Please login to continue.