Hardcoded limits

<< 点击显示目录 >>

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

Hardcoded limits

exos_log_exclude_list_len=20

当前使用exos_log_config可排除(从源头过滤)的模块最大数量为20个。
 

exos_log_max_name_length=35

由于AR日志记录器的限制,对象名称(在 exos_log_init() 中使用)不能超过35个字符。
 

exos_log_message_length=256

作为AR日志记录器的一项限制,信息长度不能超过256个字符。
 

exos_log_preoperational_buffer_items=100

在记录日志的模块通过 exos_log_process() 接收到第一个配置(过滤器)之前,记录的信息会被缓冲。目前,该环形缓冲区中缓冲了100条信息。


EXOS_LOG_EXCLUDE_LIST_LEN=20

The current maximum number of modules that can be excluded (filtered at the source) using exos_log_config is 20.
 

EXOS_LOG_MAX_NAME_LENGTH=35

Object names (used in exos_log_init()) cannot precede 35 characters as a limitation in the AR logger.
 

EXOS_LOG_MESSAGE_LENGTH=256

Messages cannot precede 256 characters as a limitation in the AR logger.
 

EXOS_LOG_PREOPERATIONAL_BUFFER_ITEMS=100

Until the module which is logging has received the first configuration (filter) via exos_log_process(), the logged messages are buffered. Currently, 100 messages are buffered in this ringbuffer.