*/ void sys_log_file_backend_init(void) { struct ulog_file_be *file_be = &sys_log_file; uint8_t id = sys_id; file_be->parent = sys_log_backend; ulog_file_backend_init( file_be, table[id].name, table[id].dir_path, table[id].max_num, table[id].max_size, table[id]....
Original file line numberDiff line numberDiff line change Expand Up@@ -32,5 +32,7 @@ intulog_ef_backend_init(void); voidulog_ef_log_clean(void); voidulog_ef_log_lvl_set(rt_uint32_tlevel); intulog_ef_filter_cfg_load(void); ...
int ulog_ef_backend_init(void); void ulog_ef_log_clean(void); void ulog_ef_log_lvl_set(rt_uint32_t level); int ulog_ef_filter_cfg_load(void); void ulog_ef_filter_cfg_save(void); #endif /* _ULOG_EASYFLASH_H_ */Footer © 2024 GitHub, Inc. Footer navigation Terms Privacy Sec...
INIT_APP_EXPORT(ulog_ef_backend_init); #if defined(RT_USING_FINSH) && defined(FINSH_USING_MSH) #include<finsh.h> staticvoidulog_flash(uint8_targc,char**argv) { if(argc>=2) { if(!strcmp(argv[1],"read")) { if(argc>=3)
init/deinit is optional, init is called at register, and deinit is called at ulog_deinit. flush is also optional, and some internal output cached backends need to implement this interface. For example, some file systems with RAM cache. The flush of the backend is usually called by ulog_flu...
You need to call the initialization functionulog_ef_backend_init()at the application layer. If the project enables automatic component initialization, even this function does not need to be called. The component initialization function has been added to this function in the software package. ...