yii\BaseYii::warning PHP Method

warning() public static method

A warning message is typically logged when an error occurs while the execution can still continue.
public static warning ( string $message, string $category = 'application' )
$message string the message to be logged.
$category string the category of the message.
    public static function warning($message, $category = 'application')
    {
        static::getLogger()->log($message, Logger::LEVEL_WARNING, $category);
    }