public static function warning($msg, $model = null, $category = 'application')
    {
        Yii::warning([
            'msg'   => $msg,
            'model' => $model,
        ], $category);
    }
public static function warning($msg, $model = null, $category = 'application')
    {
        Yii::warning([
            'msg'   => $msg,
            'model' => $model,
        ], $category);
    }
public static function warning ( $ msg , $ model = null , $ category = 'application' ) { Yii :: warning ( [ 'msg' => $ msg , 'model' => $ model , ] , $ category ) ; }
Calls for warning log.
@param mixed $msg Message
@param string $model Model
@param string $category
Calls for warning log .