PHPMailer\PHPMailer

SMTP::setDebugLevel()publicWP 1.0

Set debug output level.

Method of the class: SMTP{}

No Hooks.

Return

null. Nothing (null).

Usage

$SMTP = new SMTP();
$SMTP->setDebugLevel( $level );
$level(int)
-

SMTP::setDebugLevel() code WP 6.4.3

public function setDebugLevel($level = 0)
{
    $this->do_debug = $level;
}