code: public function cancelLog()
      {
          $logModel = $this->getLogModel(true);
          if (empty($logModel)) {
              return true;
          }
          if ($logModel->status === 'queued') {
              return $logModel->delete();
          } else {
              return false;
          }
      }
docs: [[@doctodo method_description:cancelLog]].
  
  @return [[@doctodo return_type:cancelLog]] [[@doctodo return_description:cancelLog]]