exos_log_stdout(): Log output to the console

<< 点击显示目录 >>

主页  exOS使用助手 > exOS Automation Help > Development > Programming > exOS Log API reference (exos_log.h) >

exos_log_stdout(): Log output to the console

void exos_log_stdout(const char *format, ...);

在 Linux 中, exos_log_stdout() 直接输出到单个程序的控制台 - 与 printf(" .. \n") 相同

在 AR 中,控制台输出以 ASCII 数据流的形式转发到通过预先配置的 TCP 端口(默认为 49000)连接的(telnet)客户端。该端口通过 exostarget 配置元素进行设置 。

该功能可让您输出用于调试或测试的信息,而无需将其收集到日志中。


void exos_log_stdout(const char *format, ...);

In Linux, exos_log_stdout() goes directly to the console output of the individual program - identical to printf(" .. \n")

In Automation Runtime, the console output is forwarded as an ASCII stream to a (telnet) client connected via a pre-configured TCP port (default 49000). This port is set via the exostarget Configuration Element

This function lets you output messages for debug or testing purposes without having them collected in the log.