Log Viewer
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
867 B

6 months ago
#ifndef JSONPARSECONFIG
#define JSONPARSECONFIG
class JsonParseConfig
{
public:
static constexpr const char* ID_KEY = "id";
static constexpr const char* LEVEL_KEY = "level";
static constexpr const char* LOC_KEY = "location";
static constexpr const char* LOC_FILE_KEY = "file";
static constexpr const char* LOC_FUNC_KEY = "func";
static constexpr const char* LOC_LINE_NUMBER_KEY = "lineno";
static constexpr const char* MESSAGE_KEY = "msg";
static constexpr const char* MESSAGE_TYPE_KEY = "type";
static constexpr const char* MESSAGE_SUMMARY_KEY = "summary";
static constexpr const char* MESSAGE_CONTENT_KEY = "content";
static constexpr const char* SCOPE_KEY = "scope";
static constexpr const char* THREAD_ID_KEY = "threadId";
static constexpr const char* TIMESTAMP_KEY = "timestamp";
};
#endif //JSONPARSECONFIG