QtCraft API C++ classes QML types Handbook

QcMessageLog::RecentLine Struct

struct QcMessageLog::RecentLine

One of the latest lines. More...

Header: #include <common/diagnostics/QcMessageLog.h>

Public Variables

QString category
quint64 sequence
int severity
QString text
qint64 timeMs

Detailed Description

Member Variable Documentation

QString RecentLine::category

The logging category.

quint64 RecentLine::sequence

Its number, from 1 in the order the lines came.

int RecentLine::severity

0 debug, 1 info, 2 warning, 3 critical, 4 fatal (severity()).

QString RecentLine::text

The message.

qint64 RecentLine::timeMs

Milliseconds since the epoch (UTC).