#include <logging.h>
Definition at line 18 of file logging.h.
Public Slots | |
| void | addEntry (const QString &log_entry) |
| void | addStartup () |
| void | addShutdown () |
| void | socketOpened () |
| void | socketClosed () |
Public Member Functions | |
| MTDLogger (bool log_stdout) | |
| ~MTDLogger () | |
Private Member Functions | |
| void | writeString (const QString &log_entry) |
| void | writeStampedString (const QString &log_entry) |
Private Attributes | |
| QFile | logging_file |
| bool | log_to_stdout |
| MTDLogger::MTDLogger | ( | bool | log_stdout | ) |
Definition at line 18 of file logging.cpp.
| MTDLogger::~MTDLogger | ( | ) |
Definition at line 107 of file logging.cpp.
| void MTDLogger::addEntry | ( | const QString & | log_entry | ) | [slot] |
Definition at line 48 of file logging.cpp.
| void MTDLogger::addStartup | ( | ) | [slot] |
| void MTDLogger::addShutdown | ( | ) | [slot] |
| void MTDLogger::socketOpened | ( | ) | [slot] |
| void MTDLogger::socketClosed | ( | ) | [slot] |
| void MTDLogger::writeString | ( | const QString & | log_entry | ) | [private] |
Definition at line 86 of file logging.cpp.
Referenced by addShutdown(), addStartup(), and writeStampedString().
| void MTDLogger::writeStampedString | ( | const QString & | log_entry | ) | [private] |
Definition at line 99 of file logging.cpp.
Referenced by addEntry(), addStartup(), socketClosed(), and socketOpened().
QFile MTDLogger::logging_file [private] |
Definition at line 47 of file logging.h.
Referenced by MTDLogger(), writeString(), and ~MTDLogger().
bool MTDLogger::log_to_stdout [private] |
1.5.5