10 #include "ulog_config.h" 
   23 #define CONFIG_LOGMACRO_SILENT 
   26 #if defined(CONFIG_DEBUG) && CONFIG_DEBUG 
   30 #define ULOG_TAG __FILE__, __LINE__ 
   66 int ulog(
const unsigned char s, 
const char *mod, 
const char *f,
 
   67          const unsigned long l, 
const char *fmt, ...);
 
   76 #define LOG(...) ulog(LOG_ALERT, "AOS", ULOG_TAG, __VA_ARGS__)
 
   78 #ifdef CONFIG_LOGMACRO_SILENT 
   79 #define LOGF(mod, ...) 
   80 #define LOGE(mod, ...) 
   81 #define LOGW(mod, ...) 
   82 #define LOGI(mod, ...) 
   83 #define LOGD(mod, ...) 
   94 #define LOGF(mod, ...) ulog(LOG_CRIT, mod, ULOG_TAG, __VA_ARGS__) 
  104 #define LOGE(mod, ...) ulog(LOG_ERR, mod, ULOG_TAG, __VA_ARGS__) 
  114 #define LOGW(mod, ...) ulog(LOG_WARNING, mod, ULOG_TAG, __VA_ARGS__) 
  124 #define LOGI(mod, ...) ulog(LOG_INFO, mod, ULOG_TAG, __VA_ARGS__) 
  136 #define LOGD(mod, ...) ulog(LOG_DEBUG, mod, ULOG_TAG,  __VA_ARGS__) 
  138 #define LOGD(mod, ...) 
  163 #if ULOG_POP_CLOUD_ENABLE 
  167 #if ULOG_POP_FS_ENABLE 
  168 int ulog_fs_log_file_size(
unsigned int filesize);
 
  169 int ulog_fs_log_file_path(
char *filepath);
 
  173 #if ULOG_POP_UDP_ENABLE 
int ulog(const unsigned char s, const char *mod, const char *f, const unsigned long l, const char *fmt,...)
 
int aos_get_ulog_list(char *buf, const unsigned short len)
 
int aos_log_hexdump(const char *tag, char *buffer, int len)
 
int aos_set_log_output(void(*output_func)(const char *fmt,...))
 
int aos_set_log_level(aos_log_level_t log_level)
 
int ulog_man(const char *cmd_str)