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('warning', $message, $context);
}