Hush lite wallet
https://faq.hush.is/sdl
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
306 B
23 lines
306 B
6 years ago
|
#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;
|
||
|
bool m_showDate;
|
||
|
|
||
|
signals:
|
||
|
|
||
|
public slots:
|
||
|
void write(const QString &value);
|
||
|
};
|
||
|
|
||
|
#endif // LOGGER_H
|