add mq log and add test type in test mod
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
#include <set>
|
||||
#include "loggingmacros.h"
|
||||
|
||||
#include "appender.h"
|
||||
|
||||
#define LOGTYPE_COM 1
|
||||
#define LOGTYPE_DATA 2
|
||||
@@ -56,8 +57,16 @@ extern void send_reply_to_kafka(const std::string& guid, const std::string& step
|
||||
std::string get_front_type_from_subdir();
|
||||
|
||||
|
||||
log4cplus::Logger init_logger(const std::string& full_name, const std::string& file_dir, const std::string& base_file);
|
||||
// 不带 Appender 的版本
|
||||
log4cplus::Logger init_logger(const std::string& full_name,
|
||||
const std::string& file_dir,
|
||||
const std::string& base_file);
|
||||
|
||||
// 带 Appender 的版本
|
||||
log4cplus::Logger init_logger(const std::string& full_name,
|
||||
const std::string& file_dir,
|
||||
const std::string& base_file,
|
||||
log4cplus::SharedAppenderPtr fileAppender);
|
||||
|
||||
void process_log_command(const std::string& id, const std::string& level, const std::string& grade, const std::string& logtype_str);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user