Added Crapview lib
This commit is contained in:
parent
2e8d29e208
commit
45b944de1c
2 changed files with 32 additions and 0 deletions
|
@ -139,6 +139,7 @@ set(PROJECT_SOURCES
|
||||||
modules/craplog/modules/workers/parser.cpp
|
modules/craplog/modules/workers/parser.cpp
|
||||||
modules/craplog/modules/workers/impl/loglinedata.cpp
|
modules/craplog/modules/workers/impl/loglinedata.cpp
|
||||||
|
|
||||||
|
modules/crapview/lib.h
|
||||||
modules/crapview/crapview.h
|
modules/crapview/crapview.h
|
||||||
modules/crapview/crapview.cpp
|
modules/crapview/crapview.cpp
|
||||||
modules/crapview/modules/lib.h
|
modules/crapview/modules/lib.h
|
||||||
|
|
31
logdoctor/modules/crapview/lib.h
Normal file
31
logdoctor/modules/crapview/lib.h
Normal file
|
@ -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 a new issue