Files
SilentDragonXLite/src/logger.h
Aditya Kulkarni a8cbb3f6e6 v0.4.1
2018-11-20 14:51:40 -08:00

23 lines
321 B
C++

#ifndef LOGGER_H
#define LOGGER_H
#include "precompiled.h"
class Logger : public QObject
{
Q_OBJECT
public:
explicit Logger(QObject *parent, QString fileName);
~Logger();
private:
QFile *file = nullptr;
bool m_showDate;
signals:
public slots:
void write(const QString &value);
};
#endif // LOGGER_H