exOS Log API reference (exos_log.h)

<< 点击显示目录 >>

主页  exOS使用助手 > exOS Automation Help > Development > Programming >

exOS Log API reference (exos_log.h)

一般情况

 

数据类型

exos_log_handle_t: The log handle

 

功能

exos_log_init(): Initialize the log handle

exos_log_process(): Receive current log configuration

exos_log_delete(): Release all resources for a log handle

 

记录

 

功能

exos_log_error(): Log error message

exos_log_warning(): Log warning messages

exos_log_success(): Log success messages

exos_log_info(): Log info messages

exos_log_debug(): Log debug messages

exos_log_stdout(): Log output to the console

 

配置

 

数据类型

exos_log_config_t: Log configuration structure

 

功能

exos_log_change_config(): Change the current log configuration

exos_log_config_listener(): Listen to configuration changes

(*exos_config_change_cb)(): React on configuration changes


General

 

Data types

exos_log_handle_t: The log handle

 

Functions

exos_log_init(): Initialize the log handle

exos_log_process(): Receive current log configuration

exos_log_delete(): Release all resources for a log handle

 

Logging

 

Functions

exos_log_error(): Log error message

exos_log_warning(): Log warning messages

exos_log_success(): Log success messages

exos_log_info(): Log info messages

exos_log_debug(): Log debug messages

exos_log_stdout(): Log output to the console

 

Configuration

 

Data types

exos_log_config_t: Log configuration structure

 

Functions

exos_log_change_config(): Change the current log configuration

exos_log_config_listener(): Listen to configuration changes

(*exos_config_change_cb)(): React on configuration changes