|
|
@ -41,7 +41,7 @@ IErrorLog::~IErrorLog()
|
|
|
|
int IErrorLogClient::sendLogError(const TQString &s) const
|
|
|
|
int IErrorLogClient::sendLogError(const TQString &s) const
|
|
|
|
{
|
|
|
|
{
|
|
|
|
kdDebug() << TQString(i18n("%1 Error: %2\n"))
|
|
|
|
kdDebug() << TQString(i18n("%1 Error: %2\n"))
|
|
|
|
.arg(TQDateTime::currentDateTime().toString(Qt::ISODate))
|
|
|
|
.arg(TQDateTime::currentDateTime().toString(TQt::ISODate))
|
|
|
|
.arg(s);
|
|
|
|
.arg(s);
|
|
|
|
IF_SEND_MESSAGE(logError(s));
|
|
|
|
IF_SEND_MESSAGE(logError(s));
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -50,7 +50,7 @@ int IErrorLogClient::sendLogError(const TQString &s) const
|
|
|
|
int IErrorLogClient::sendLogWarning(const TQString &s) const
|
|
|
|
int IErrorLogClient::sendLogWarning(const TQString &s) const
|
|
|
|
{
|
|
|
|
{
|
|
|
|
kdDebug() << TQString(i18n("%1 Warning: %2\n"))
|
|
|
|
kdDebug() << TQString(i18n("%1 Warning: %2\n"))
|
|
|
|
.arg(TQDateTime::currentDateTime().toString(Qt::ISODate))
|
|
|
|
.arg(TQDateTime::currentDateTime().toString(TQt::ISODate))
|
|
|
|
.arg(s);
|
|
|
|
.arg(s);
|
|
|
|
IF_SEND_MESSAGE(logWarning(s));
|
|
|
|
IF_SEND_MESSAGE(logWarning(s));
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -59,7 +59,7 @@ int IErrorLogClient::sendLogWarning(const TQString &s) const
|
|
|
|
int IErrorLogClient::sendLogInfo(const TQString &s) const
|
|
|
|
int IErrorLogClient::sendLogInfo(const TQString &s) const
|
|
|
|
{
|
|
|
|
{
|
|
|
|
kdDebug() << TQString(i18n("%1 Information: %2\n"))
|
|
|
|
kdDebug() << TQString(i18n("%1 Information: %2\n"))
|
|
|
|
.arg(TQDateTime::currentDateTime().toString(Qt::ISODate))
|
|
|
|
.arg(TQDateTime::currentDateTime().toString(TQt::ISODate))
|
|
|
|
.arg(s);
|
|
|
|
.arg(s);
|
|
|
|
IF_SEND_MESSAGE(logInfo(s));
|
|
|
|
IF_SEND_MESSAGE(logInfo(s));
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -68,7 +68,7 @@ int IErrorLogClient::sendLogInfo(const TQString &s) const
|
|
|
|
int IErrorLogClient::sendLogDebug(const TQString &s) const
|
|
|
|
int IErrorLogClient::sendLogDebug(const TQString &s) const
|
|
|
|
{
|
|
|
|
{
|
|
|
|
kdDebug() << TQString(i18n("%1 Debug: %2\n"))
|
|
|
|
kdDebug() << TQString(i18n("%1 Debug: %2\n"))
|
|
|
|
.arg(TQDateTime::currentDateTime().toString(Qt::ISODate))
|
|
|
|
.arg(TQDateTime::currentDateTime().toString(TQt::ISODate))
|
|
|
|
.arg(s);
|
|
|
|
.arg(s);
|
|
|
|
IF_SEND_MESSAGE(logDebug(s));
|
|
|
|
IF_SEND_MESSAGE(logDebug(s));
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -76,7 +76,7 @@ int IErrorLogClient::sendLogDebug(const TQString &s) const
|
|
|
|
void IErrorLogClient::staticLogError (const TQString &s)
|
|
|
|
void IErrorLogClient::staticLogError (const TQString &s)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
kdDebug() << TQString(i18n("%1 Error: %2\n"))
|
|
|
|
kdDebug() << TQString(i18n("%1 Error: %2\n"))
|
|
|
|
.arg(TQDateTime::currentDateTime().toString(Qt::ISODate))
|
|
|
|
.arg(TQDateTime::currentDateTime().toString(TQt::ISODate))
|
|
|
|
.arg(s);
|
|
|
|
.arg(s);
|
|
|
|
if (staticLogger)
|
|
|
|
if (staticLogger)
|
|
|
|
staticLogger->logError(s);
|
|
|
|
staticLogger->logError(s);
|
|
|
@ -85,7 +85,7 @@ void IErrorLogClient::staticLogError (const TQString &s)
|
|
|
|
void IErrorLogClient::staticLogWarning(const TQString &s)
|
|
|
|
void IErrorLogClient::staticLogWarning(const TQString &s)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
kdDebug() << TQString(i18n("%1 Warning: %2\n"))
|
|
|
|
kdDebug() << TQString(i18n("%1 Warning: %2\n"))
|
|
|
|
.arg(TQDateTime::currentDateTime().toString(Qt::ISODate))
|
|
|
|
.arg(TQDateTime::currentDateTime().toString(TQt::ISODate))
|
|
|
|
.arg(s);
|
|
|
|
.arg(s);
|
|
|
|
if (staticLogger)
|
|
|
|
if (staticLogger)
|
|
|
|
staticLogger->logWarning(s);
|
|
|
|
staticLogger->logWarning(s);
|
|
|
@ -94,7 +94,7 @@ void IErrorLogClient::staticLogWarning(const TQString &s)
|
|
|
|
void IErrorLogClient::staticLogInfo (const TQString &s)
|
|
|
|
void IErrorLogClient::staticLogInfo (const TQString &s)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
kdDebug() << TQString(i18n("%1 Information: %2\n"))
|
|
|
|
kdDebug() << TQString(i18n("%1 Information: %2\n"))
|
|
|
|
.arg(TQDateTime::currentDateTime().toString(Qt::ISODate))
|
|
|
|
.arg(TQDateTime::currentDateTime().toString(TQt::ISODate))
|
|
|
|
.arg(s);
|
|
|
|
.arg(s);
|
|
|
|
if (staticLogger)
|
|
|
|
if (staticLogger)
|
|
|
|
staticLogger->logInfo(s);
|
|
|
|
staticLogger->logInfo(s);
|
|
|
@ -103,7 +103,7 @@ void IErrorLogClient::staticLogInfo (const TQString &s)
|
|
|
|
void IErrorLogClient::staticLogDebug (const TQString &s)
|
|
|
|
void IErrorLogClient::staticLogDebug (const TQString &s)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
kdDebug() << TQString(i18n("%1 Debug: %2\n"))
|
|
|
|
kdDebug() << TQString(i18n("%1 Debug: %2\n"))
|
|
|
|
.arg(TQDateTime::currentDateTime().toString(Qt::ISODate))
|
|
|
|
.arg(TQDateTime::currentDateTime().toString(TQt::ISODate))
|
|
|
|
.arg(s);
|
|
|
|
.arg(s);
|
|
|
|
if (staticLogger)
|
|
|
|
if (staticLogger)
|
|
|
|
staticLogger->logDebug(s);
|
|
|
|
staticLogger->logDebug(s);
|
|
|
|