2019-06-21 Fred Gleason <fredg@paravelsystems.com>

* Added 'RDApplication::syslog()' methods.
This commit is contained in:
Fred Gleason
2019-06-24 16:40:18 -04:00
parent 52dc14a3b3
commit f50447eb8b
71 changed files with 1064 additions and 887 deletions

View File

@@ -449,9 +449,10 @@ void Xport::XmlExit(const QString &str,int code,const QString &srcfile,
delete xport_post;
}
if(code>=400) {
syslog(LOG_WARNING,"%s '%s' %s",
(const char *)str.toUtf8(),(const char *)srcfile.toUtf8(),
(srcline>0)?(const char *)QString().sprintf("line %d",srcline).toUtf8():"");
rda->syslog(LOG_WARNING,"%s '%s' %s",
(const char *)str.toUtf8(),(const char *)srcfile.toUtf8(),
(srcline>0)?(const char *)QString().sprintf("line %d",srcline).
toUtf8():"");
}
#ifdef RDXPORT_DEBUG
if(srcline>0) {