Added Craplog lib

This commit is contained in:
Valentino Orlandi 2024-02-04 11:40:28 +01:00
parent 4d383eb97c
commit 2e8d29e208
Signed by: elB4RTO
GPG Key ID: 1719E976DB2D4E71
2 changed files with 37 additions and 0 deletions

View File

@ -116,6 +116,7 @@ set(PROJECT_SOURCES
modules/warnlists/modules/warnlist_item.h
modules/warnlists/modules/warnlist_item.cpp
modules/craplog/lib.h
modules/craplog/craplog.h
modules/craplog/craplog.cpp
modules/craplog/modules/lib.h

View File

@ -0,0 +1,36 @@
#ifndef LOGDOCTOR__CRAPLOG__LIB_H
#define LOGDOCTOR__CRAPLOG__LIB_H
#include <QMetaType>
enum class LogField
{
Year,
Month,
Day,
Hour,
Minute,
Second,
// request
Protocol,
Method,
Uri,
Query,
// server
ResponseCode,
TimeTaken,
BytesSent,
BytesReceived,
// client
Client,
Cookie,
UserAgent,
Referrer
};
Q_DECLARE_METATYPE(LogField)
#endif // LOGDOCTOR__CRAPLOG__LIB_H