log include "cli_log.h" to your C source file; and then, init_log_cfg() to initial the log; and then, call to write_log() hava fun!