#include <transaction_p.h>
Public Member Functions | |
| LogWrap (WTransaction *parent, const QString &request, const QString &interface=QString()) | |
| void | setRequ (const QString &, const QString &) |
| logs/stores a request message | |
| void | setResp (const QString &, const QString &) |
| logs/stores a response message | |
| void | setError (const QString &) |
| logs an error, if the interface is set up to log only on errors it also logs the stored request and response | |
| void | setInfo (const QString &) |
| logs some informational message | |
| WTransaction::LogWrap::LogWrap | ( | WTransaction * | parent, | |
| const QString & | request, | |||
| const QString & | interface = QString() | |||
| ) |
instantiates a log wrapper using the logger of the parent or creates a new one in the parent
| void WTransaction::LogWrap::setError | ( | const QString & | s | ) |
logs an error, if the interface is set up to log only on errors it also logs the stored request and response
| void WTransaction::LogWrap::setInfo | ( | const QString & | s | ) |
logs some informational message
| void WTransaction::LogWrap::setRequ | ( | const QString & | s1, | |
| const QString & | s2 | |||
| ) |
logs/stores a request message
| void WTransaction::LogWrap::setResp | ( | const QString & | s1, | |
| const QString & | s2 | |||
| ) |
logs/stores a response message
1.7.1