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.
logging
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
26
class
LOGGING_API
DualFileLogger
:
public
Logger
{
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
67
FileLogger
*
firstLogger
;
68
70
FileLogger
*
secondLogger
;
71
72
};
73
74
}
// end of namespace
75
76
#endif // DUALFILELOGGER_H
filelogger.h
export.h
qtwebapp::DualFileLogger::firstLogger
FileLogger * firstLogger
Definition:
dualfilelogger.h:67
qtwebapp
Definition:
httpconnectionhandler.h:23
log
Fixed< IntType, IntBits > log(Fixed< IntType, IntBits > const &x)
Definition:
fixed.h:2295
logglobal.h
qtwebapp::Logger
Definition:
logger.h:52
qtwebapp::FileLogger
Definition:
filelogger.h:54
qtwebapp::DualFileLogger
Definition:
dualfilelogger.h:26
logger.h
LOGGING_API
#define LOGGING_API
Definition:
export.h:100
qtwebapp::DualFileLogger::secondLogger
FileLogger * secondLogger
Definition:
dualfilelogger.h:70
Generated on Fri Aug 2 2019 17:56:29 for SDRAngel by
1.8.13