Lets you access the entire log history of this session.
More...
#include <Logger.h>
|
| void | logged (const QString &msg) |
| |
|
| | Logger (QObject *parent=nullptr) |
| |
| Q_INVOKABLE void | addLog (const QString &msg) |
| |
| auto | getHistory () const -> QStringListModel * |
| |
|
| QML_ELEMENTQStringListModel * | history |
| | All log messages.
|
| |
Lets you access the entire log history of this session.
◆ Logger()
| qml_components::Logger::Logger |
( |
QObject * |
parent = nullptr | ) |
|
|
explicit |
◆ addLog()
| void qml_components::Logger::addLog |
( |
const QString & |
msg | ) |
|
◆ getHistory()
| auto qml_components::Logger::getHistory |
( |
| ) |
const -> QStringListModel* |
◆ logged
| void qml_components::Logger::logged |
( |
const QString & |
msg | ) |
|
|
signal |
◆ history
| QML_ELEMENTQStringListModel* qml_components::Logger::history |
|
read |
The documentation for this class was generated from the following files: