OceanBase Plugin Development Kit
OceanBase Plugin Development Kit
载入中...
搜索中...
未找到
ob_plugin_log.h 文件参考

浏览该文件的源代码.

宏定义

#define OBP_LOG(level, fmt, args...)
 logging macro
 
#define OBP_LOG_TRACE(fmt, args...)
 
#define OBP_LOG_INFO(fmt, args...)
 
#define OBP_LOG_WARN(fmt, args...)
 

枚举

enum  ObPluginLogLevel {
  OBP_LOG_LEVEL_TRACE ,
  OBP_LOG_LEVEL_INFO ,
  OBP_LOG_LEVEL_WARN
}
 Log Level 更多...
 

函数

OBP_PUBLIC_API int obp_log_enabled (int32_t level)
 test if we should output the log with specific level
 
OBP_PUBLIC_API void obp_log_format (int32_t level, const char *filename, int32_t lineno, const char *location_string, int64_t location_string_size, const char *function, const char *format,...) __attribute__((format(printf
 logging