WordPress at a glance
function is not described

PHPMailer\PHPMailer

SMTP::setDebugLevel() public WP 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 5.7.2

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