public RfcLoggerTrait::warning($message, array $context = array())
Exceptional occurrences that are not errors.
Example: Use of deprecated APIs, poor use of an API, undesirable things that are not necessarily wrong.
string $message:
array $context:
null
Overrides LoggerInterface::warning
public function warning($message, array $context = array()) { $this->log(RfcLogLevel::WARNING, $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::warning/8.1.x