SDRAngel  4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
dualfilelogger.h
Go to the documentation of this file.
1 
6 #ifndef DUALFILELOGGER_H
7 #define DUALFILELOGGER_H
8 
9 #include <QString>
10 #include <QSettings>
11 #include <QtGlobal>
12 #include "logglobal.h"
13 #include "logger.h"
14 #include "filelogger.h"
15 
16 #include "export.h"
17 
18 namespace qtwebapp {
19 
27  Q_OBJECT
28  Q_DISABLE_COPY(DualFileLogger)
29 public:
30 
42  DualFileLogger(QSettings* firstSettings, QSettings* secondSettings, const int refreshInterval=10000, QObject *parent = 0);
43 
54  virtual void log(const QtMsgType type, const QString& message, const QString &file="", const QString &function="", const int line=0);
55 
62  virtual void clear(const bool buffer=true, const bool variables=true);
63 
64 private:
65 
68 
71 
72 };
73 
74 } // end of namespace
75 
76 #endif // DUALFILELOGGER_H
Fixed< IntType, IntBits > log(Fixed< IntType, IntBits > const &x)
Definition: fixed.h:2295
#define LOGGING_API
Definition: export.h:100