PAGI\Node\Node::logDebug PHP Method

logDebug() protected method

Used internally to log debug messages
protected logDebug ( string $msg ) : void
$msg string
return 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}");
    }