mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-04 09:47:33 +08:00
新增C API 广播日志到上层应用
This commit is contained in:
@@ -53,6 +53,7 @@ const string kBroadcastShellLogin = "kBroadcastShellLogin";
|
||||
const string kBroadcastNotFoundStream = "kBroadcastNotFoundStream";
|
||||
const string kBroadcastStreamNoneReader = "kBroadcastStreamNoneReader";
|
||||
const string kBroadcastHttpBeforeAccess = "kBroadcastHttpBeforeAccess";
|
||||
const string kBroadcastLog = "kBroadcastEventLog";
|
||||
} //namespace Broadcast
|
||||
|
||||
//通用配置项目
|
||||
|
||||
@@ -105,6 +105,10 @@ extern const string kBroadcastStreamNoneReader;
|
||||
extern const string kBroadcastReloadConfig;
|
||||
#define BroadcastReloadConfigArgs void
|
||||
|
||||
//日志输出广播,目的是为了通过C API运行时,由上级程序打印日志
|
||||
extern const string kBroadcastLog;
|
||||
#define BroadcastLogArgs const LogLevel level, const char* file, int line, const char* function, const char* message
|
||||
|
||||
#define ReloadConfigTag ((void *)(0xFF))
|
||||
#define RELOAD_KEY(arg,key) \
|
||||
do { \
|
||||
|
||||
Reference in New Issue
Block a user