Added Craplog lib
This commit is contained in:
parent
4d383eb97c
commit
2e8d29e208
|
@ -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
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue