original_string: protected function edebug($str)
      {
          if (!$this->SMTPDebug) {
              return;
          }
          switch ($this->Debugoutput) {
              case 'error_log':
                  error_log($str);
                  break;
              case 'html':
                  //Cleans up output a bit for a better looking display that's HTML-safe
                  echo htmlentities(preg_replace('/[\r\n]+/', '', $str), ENT_QUOTES, $this->CharSet) . "<br>\n";
                  break;
              case 'echo':
              default:
                  echo $str."\n";
          }
      }
code: protected function edebug($str)
      {
          if (!$this->SMTPDebug) {
              return;
          }
          switch ($this->Debugoutput) {
              case 'error_log':
                  error_log($str);
                  break;
              case 'html':
                  //Cleans up output a bit for a better looking display that's HTML-safe
                  echo htmlentities(preg_replace('/[\r\n]+/', '', $str), ENT_QUOTES, $this->CharSet) . "<br>\n";
                  break;
              case 'echo':
              default:
                  echo $str."\n";
          }
      }
code_tokens: protected function edebug ( $ str ) { if ( ! $ this -> SMTPDebug ) { return ; } switch ( $ this -> Debugoutput ) { case 'error_log' : error_log ( $ str ) ; break ; case 'html' : //Cleans up output a bit for a better looking display that's HTML-safe echo htmlentities ( preg_replace ( '/[\r\n]+/' , '' , $ str ) , ENT_QUOTES , $ this -> CharSet ) . "<br>\n" ; break ; case 'echo' : default : echo $ str . "\n" ; } }
docstring: Output debugging info via user-defined method.
  Only if debug output is enabled.
  @see PHPMailer::$Debugoutput
  @see PHPMailer::$SMTPDebug
  @param string $str
docstring_tokens: Output debugging info via user - defined method . Only if debug output is enabled .