PHPMailer\PHPMailer

SMTP::setDebugLevelpublicWP 1.0

Set debug output level.

Method of the class: SMTP{}

No Hooks.

Returns

null. Nothing (null).

Usage

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

SMTP::setDebugLevel() code WP 7.0

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