36 #include "cxResourceExport.h" 65 QDateTime mInitTimestamp;
67 Message readMessageFirstLine(QString line);
68 MESSAGE_LEVEL readMessageLevel(QString line);
69 QRegExp getRX_Timestamp()
const;
70 QString formatMessage(
Message msg);
71 bool appendToLogfile(QString filename, QString text);
72 QString readFileTail();
75 QString timestampFormat()
const;
76 QDateTime readTimestampFromSessionStartLine(QString text);
78 void parseTimestamp(QString text,
Message* retval);
79 void parseThread(QString text,
Message* retval);
80 void parseSourceFileLine(QString text,
Message* retval);
81 void parseSourceFunction(QString text,
Message* retval);
82 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.