WordPress at a glance
function is not described

PHPMailer\PHPMailer

SMTP::getDebugLevel() public WP 1.0

Get debug output level.

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

No Hooks.

Return

Int.

Usage

$SMTP = new SMTP();
$SMTP->getDebugLevel();

Code of SMTP::getDebugLevel() WP 5.7.2

<?php
public function getDebugLevel()
{
    return $this->do_debug;
}