Files
SilentDragonXLite/src/logger.h
2021-01-02 11:20:58 -05:00

26 lines
393 B
C++

// Copyright 2019-2021 The Hush developers
// Released under the GPLv3
#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