PHPMailer\PHPMailer

SMTP::setDebugLevel()publicWP 1.0

Set debug output level.

{} It's a method of the class: SMTP{}

No Hooks.

Return

null. Nothing.

Usage

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

Code of SMTP::setDebugLevel() WP 6.0

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