PHPMailer\PHPMailer
SMTP::setDebugOutput()
Set debug output method.
Method of the class: SMTP{}
No Hooks.
Return
null
. Ничего (null).
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'
SMTP::setDebugOutput() SMTP::setDebugOutput code WP 6.3
public function setDebugOutput($method = 'echo') { $this->Debugoutput = $method; }