PHPMailer\PHPMailer
SMTP::setDebugOutput()
Set debug output method.
{} It's a method of the class: SMTP{}
No Hooks.
Return
null
. Nothing.
Usage
$SMTP = new SMTP(); $SMTP->setDebugOutput( $method );
- $method(string|callable)
- The name of the mechanism to use for debugging output, or a callable to handle it
Default: 'echo'
Code of SMTP::setDebugOutput() SMTP::setDebugOutput WP 6.0
public function setDebugOutput($method = 'echo') { $this->Debugoutput = $method; }