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