log() public method

Logs to asterisk logger. Uses application LOG.
public log ( string $msg, string $priority = 'NOTICE' ) : void
$msg string Message to log.
$priority string One of ERROR, WARNING, NOTICE, DEBUG, VERBOSE, DTMF
return void
Esempio n. 1
0
 /**
  * (non-PHPdoc)
  * @see PAGI\Logger\Asterisk.IAsteriskLogger::dtmf()
  */
 public function dtmf($msg)
 {
     $this->agi->log($msg, 'DTMF');
 }