PAGI\Node\Node::logDebug PHP Méthode

logDebug() protected méthode

Used internally to log debug messages
protected logDebug ( string $msg ) : void
$msg string
Résultat void
    protected function logDebug($msg)
    {
        $logger = $this->client->getAsteriskLogger();
        $ani = $this->client->getChannelVariables()->getCallerIdName();
        $dnis = $this->client->getChannelVariables()->getDNIS();
        $logger->debug("Node: {$this->name}: {$ani} -> {$dnis}: {$msg}");
    }