QLogger
Loading...
Searching...
No Matches
qlogger
log
logentry.h
1
#ifndef QLOGGER_LOGENTRY_H
2
#define QLOGGER_LOGENTRY_H
3
4
#include "qlogger/qloggerglobal.h"
5
6
#include <QFileInfo>
7
#include <QMessageLogContext>
8
9
namespace
QLogger
10
{
11
12
class
QLOGGER_EXPORT
LogEntry
13
{
14
15
public
:
16
explicit
LogEntry
(QtMsgType idType,
const
QMessageLogContext &context,
const
QString &msg);
17
18
public
:
19
QtMsgType getType()
const
;
20
QString getTypeString()
const
;
21
22
bool
contextIsAvailable()
const
;
23
const
QFileInfo& getCtxFile()
const
;
24
int
getCtxLine()
const
;
25
const
QString& getCtxFctSig()
const
;
26
QString getCtxFctName()
const
;
27
28
const
QString& getMsg()
const
;
29
30
private
:
31
QtMsgType m_idType;
32
QString m_msg;
33
34
bool
m_haveContext;
35
QFileInfo m_ctxFile;
36
int
m_ctxLine;
37
QString m_ctxFctSig;
38
};
39
40
}
// Namespace QLogger
41
42
#endif
// QLOGGER_LOGENTRY_H
QLogger::LogEntry
Used to store all log entry informations.
Definition
logentry.h:13
Generated on Fri Dec 6 2024 10:00:08 for QLogger by
1.12.0