Added Crapview lib
This commit is contained in:
parent
2e8d29e208
commit
45b944de1c
|
@ -139,6 +139,7 @@ set(PROJECT_SOURCES
|
|||
modules/craplog/modules/workers/parser.cpp
|
||||
modules/craplog/modules/workers/impl/loglinedata.cpp
|
||||
|
||||
modules/crapview/lib.h
|
||||
modules/crapview/crapview.h
|
||||
modules/crapview/crapview.cpp
|
||||
modules/crapview/modules/lib.h
|
||||
|
|
|
@ -0,0 +1,31 @@
|
|||
#ifndef LOGDOCTOR__CRAPVIEW__LIB_H
|
||||
#define LOGDOCTOR__CRAPVIEW__LIB_H
|
||||
|
||||
|
||||
#include <QMetaType>
|
||||
|
||||
|
||||
enum class LogField
|
||||
{
|
||||
Warning,
|
||||
// request
|
||||
Protocol,
|
||||
Method,
|
||||
Uri,
|
||||
Query,
|
||||
// server
|
||||
ResponseCode,
|
||||
TimeTaken,
|
||||
BytesSent,
|
||||
BytesReceived,
|
||||
// client
|
||||
Client,
|
||||
Cookie,
|
||||
UserAgent,
|
||||
Referrer
|
||||
};
|
||||
|
||||
Q_DECLARE_METATYPE(LogField)
|
||||
|
||||
|
||||
#endif // LOGDOCTOR__CRAPVIEW__LIB_H
|
Loading…
Reference in New Issue