code: public function log($msg) {
          if ($this->statement == null) {
              return;
          }
          $rowCount = $this->statement->rowCount();
          
          $msg = "Affected Rows: $rowCount | $msg";
          
          $msg = parent::log($msg);
      }
docs: {@inheritDoc}