public function AbstractLogger::warning in TMGMT Translator Smartling 8.4
Same name and namespace in other branches
- 8.2 vendor/psr/log/Psr/Log/AbstractLogger.php \Psr\Log\AbstractLogger::warning()
- 8.3 vendor/psr/log/Psr/Log/AbstractLogger.php \Psr\Log\AbstractLogger::warning()
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
Overrides LoggerInterface::warning
File
- vendor/
psr/ log/ Psr/ Log/ AbstractLogger.php, line 83
Class
- AbstractLogger
- This is a simple Logger implementation that other Loggers can inherit from.
Namespace
Psr\LogCode
public function warning($message, array $context = array()) {
$this
->log(LogLevel::WARNING, $message, $context);
}