Vidalia
0.2.17
|
#include <tcglobal.h>
Classes | |
struct | Stream |
Public Member Functions | |
DebugMessage (QtMsgType t, const QString &fmt) | |
DebugMessage (const DebugMessage &o) | |
virtual | ~DebugMessage () |
DebugMessage | arg (const QString &a) |
DebugMessage | arg (int a) |
Private Attributes | |
struct tc::DebugMessage::Stream * | stream |
Helper class to handle formatting log messages with arguments.
Definition at line 24 of file tcglobal.h.
tc::DebugMessage::DebugMessage | ( | QtMsgType | t, |
const QString & | fmt | ||
) | [inline] |
Constructs a new DebugMessage with severity t and the message format fmt.
Definition at line 36 of file tcglobal.h.
tc::DebugMessage::DebugMessage | ( | const DebugMessage & | o | ) | [inline] |
Definition at line 38 of file tcglobal.h.
References tc::DebugMessage::Stream::ref, and stream.
virtual tc::DebugMessage::~DebugMessage | ( | ) | [inline, virtual] |
Definition at line 40 of file tcglobal.h.
References tc::DebugMessage::Stream::buf, tc::DebugMessage::Stream::ref, stream, and tc::DebugMessage::Stream::type.
DebugMessage tc::DebugMessage::arg | ( | const QString & | a | ) | [inline] |
Definition at line 48 of file tcglobal.h.
References tc::DebugMessage::Stream::buf, and stream.
Referenced by AddressMap::add(), Circuit::Circuit(), ControlConnection::connect(), TorService::install(), TorProcess::onError(), ControlConnection::onError(), ControlConnection::onReadyRead(), ControlConnection::send(), ControlSocket::sendCommand(), ControlConnection::setStatus(), TorProcess::start(), and TorProcess::stop().
DebugMessage tc::DebugMessage::arg | ( | int | a | ) | [inline] |
Definition at line 50 of file tcglobal.h.
References tc::DebugMessage::Stream::buf, and stream.
struct tc::DebugMessage::Stream * tc::DebugMessage::stream [private] |
Referenced by arg(), DebugMessage(), and ~DebugMessage().