15 #include "cxResourceExport.h" 44 QDateTime mInitTimestamp;
46 Message readMessageFirstLine(QString line);
47 MESSAGE_LEVEL readMessageLevel(QString line);
48 QRegExp getRX_Timestamp()
const;
49 QString formatMessage(
Message msg);
50 bool appendToLogfile(QString filename, QString text);
51 QString readFileTail();
54 QString timestampFormat()
const;
55 QDateTime readTimestampFromSessionStartLine(QString text);
57 void parseTimestamp(QString text,
Message* retval);
58 void parseThread(QString text,
Message* retval);
59 void parseSourceFileLine(QString text,
Message* retval);
60 void parseSourceFunction(QString text,
Message* retval);
61 QString getIndex(
const QStringList& list,
int index);
std::vector< Message > readMessages()
void write(Message message)
static LogFile fromFilename(QString filename)
static LogFile fromChannel(QString path, QString channel)
QString getFilename() const
Namespace for all CustusX production code.