public function raiseError($msg, $level = 'emerg', $line = null, $col = null)
    {
        if ($level === 'emerg') {
            $this->erroneous = true;
        }
        if ($line === null) {
            $line = $this->line;
        }
        if ($col === null) {
            $col = $this->col - 1;
        }

        Daemon::log('[conf#' . $level . '][' . $this->file . ' L:' . $line . ' C: ' . $col . ']   ' . $msg);
    }
public function raiseError($msg, $level = 'emerg', $line = null, $col = null)
    {
        if ($level === 'emerg') {
            $this->erroneous = true;
        }
        if ($line === null) {
            $line = $this->line;
        }
        if ($col === null) {
            $col = $this->col - 1;
        }

        Daemon::log('[conf#' . $level . '][' . $this->file . ' L:' . $line . ' C: ' . $col . ']   ' . $msg);
    }
public function raiseError ( $ msg , $ level = 'emerg' , $ line = null , $ col = null ) { if ( $ level === 'emerg' ) { $ this -> erroneous = true ; } if ( $ line === null ) { $ line = $ this -> line ; } if ( $ col === null ) { $ col = $ this -> col - 1 ; } Daemon :: log ( '[conf#' . $ level . '][' . $ this -> file . ' L:' . $ line . ' C: ' . $ col . ']   ' . $ msg ) ; }
Raises error message.
@param string Message.
@param string Level.
@param string $msg
@return void
Raises error message .