the heartbeat reply ledgerupdate is ok
This commit is contained in:
@@ -166,6 +166,9 @@ protected:
|
||||
|
||||
public:
|
||||
SendAppender() {}
|
||||
virtual ~SendAppender() {
|
||||
destructorImpl(); // 重要!释放 log4cplus 基类资源
|
||||
}
|
||||
};
|
||||
|
||||
//用来控制日志上送的结构
|
||||
@@ -452,6 +455,10 @@ extern "C" {
|
||||
void log_info (const char* key, const char* msg) { log4_log_with_level(key, msg, 1); }
|
||||
void log_warn (const char* key, const char* msg) { log4_log_with_level(key, msg, 2); }
|
||||
void log_error(const char* key, const char* msg) { log4_log_with_level(key, msg, 3); }
|
||||
|
||||
void send_reply_to_kafka_c(const char* guid, const char* step, const char* result) {
|
||||
send_reply_to_kafka(std::string(guid), std::string(step), std::string(result));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user