PHPMailer\PHPMailer
SMTP::setDebugOutput
Set debug output method.
Метод класса: SMTP{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$SMTP = new SMTP(); $SMTP->setDebugOutput( $method );
- $method(строка|callable)
- The name of the mechanism to use for debugging output, or a callable to handle it.
По умолчанию:'echo'
Код SMTP::setDebugOutput() SMTP::setDebugOutput WP 7.1.2
public function setDebugOutput($method = 'echo')
{
$this->Debugoutput = $method;
}