RhythmGame 1.4.3
Loading...
Searching...
No Matches
Signals | Public Member Functions | Properties | List of all members
qml_components::Logger Class Referencefinal

Lets you access the entire log history of this session. More...

#include <Logger.h>

Inheritance diagram for qml_components::Logger:
Inheritance graph
[legend]
Collaboration diagram for qml_components::Logger:
Collaboration graph
[legend]

Signals

void logged (const QString &msg)
 

Public Member Functions

 Logger (QObject *parent=nullptr)
 
Q_INVOKABLE void addLog (const QString &msg)
 
auto getHistory () const -> QStringListModel *
 

Properties

QML_ELEMENTQStringListModel * history
 All log messages.
 

Detailed Description

Lets you access the entire log history of this session.

Constructor & Destructor Documentation

◆ Logger()

qml_components::Logger::Logger ( QObject *  parent = nullptr)
explicit

Member Function Documentation

◆ 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

Property Documentation

◆ history

QML_ELEMENTQStringListModel* qml_components::Logger::history
read

All log messages.


The documentation for this class was generated from the following files: