This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
tango-tfe/plugin/business/pangu-http/src/pangu_logger.h
fengweihao 70da622393 TSG-304 tfe日志中增加common_sub_action字段
1)更新配置文件tfe.conf,kni域
2)更新table_info关键字表名
2019-12-02 16:56:51 +08:00

24 lines
564 B
C

#pragma once
#include <tfe_stream.h>
#include <tfe_http.h>
#include <MESA/Maat_rule.h>
struct pangu_log
{
const struct tfe_stream *stream;
const struct tfe_http_session* http;
const Maat_rule_t*result;
size_t result_num;
struct evbuffer* req_body, *resp_body;
unsigned char action;
};
struct pangu_logger;
struct pangu_logger* pangu_log_handle_create(const char* profile, const char* section, void* local_logger);
//return 0 if SUCCESS, otherwise return -1
int pangu_send_log(struct pangu_logger* handle, const struct pangu_log* log_msg);