mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-29 16:50:13 +01:00
2019-06-21 Fred Gleason <fredg@paravelsystems.com>
* Added 'RDApplication::syslog()' methods.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user