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
logmessage.h
Go to the documentation of this file.
1
6
#ifndef LOGMESSAGE_H
7
#define LOGMESSAGE_H
8
9
#include <QtGlobal>
10
#include <QDateTime>
11
#include <QHash>
12
#include "
logglobal.h
"
13
14
#include "
export.h
"
15
16
namespace
qtwebapp
{
17
38
class
LOGGING_API
LogMessage
39
{
40
Q_DISABLE_COPY(
LogMessage
)
41
public
:
42
53
LogMessage
(
const
QtMsgType type,
const
QString& message, QHash<QString,QString>* logVars,
const
QString &file,
const
QString &
function
,
const
int
line);
54
62
QString toString(
const
QString& msgFormat,
const
QString& timestampFormat)
const
;
63
67
QtMsgType getType()
const
;
68
69
private
:
70
72
QHash<QString,QString>
logVars
;
73
75
QDateTime
timestamp
;
76
78
QtMsgType
type
;
79
81
Qt::HANDLE
threadId
;
82
84
QString
message
;
85
87
QString
file
;
88
90
QString
function
;
91
93
int
line
;
94
95
};
96
97
}
// end of namespace
98
99
#endif // LOGMESSAGE_H
qtwebapp::LogMessage::logVars
QHash< QString, QString > logVars
Definition:
logmessage.h:72
export.h
qtwebapp::LogMessage::threadId
Qt::HANDLE threadId
Definition:
logmessage.h:81
qtwebapp::LogMessage::timestamp
QDateTime timestamp
Definition:
logmessage.h:75
qtwebapp
Definition:
httpconnectionhandler.h:23
logglobal.h
qtwebapp::LogMessage
Definition:
logmessage.h:38
LOGGING_API
#define LOGGING_API
Definition:
export.h:100
qtwebapp::LogMessage::type
QtMsgType type
Definition:
logmessage.h:78
qtwebapp::LogMessage::line
int line
Definition:
logmessage.h:93
qtwebapp::LogMessage::file
QString file
Definition:
logmessage.h:87
qtwebapp::LogMessage::message
QString message
Definition:
logmessage.h:84
Generated on Fri Aug 2 2019 17:56:29 for SDRAngel by
1.8.13