public function LoggerTrait::warning in Lockr 7.3
Exceptional occurrences that are not errors.
Example: Use of deprecated APIs, poor use of an API, undesirable things that are not necessarily wrong.
Parameters
string $message:
array $context:
Return value
void
File
- vendor/
psr/ log/ Psr/ Log/ LoggerTrait.php, line 84
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 warning($message, array $context = array()) {
$this
->log(LogLevel::WARNING, $message, $context);
}