0

我正在写下从头开始构建远程日志库可能需要的功能。我查了这个:http ://www.aggsoft.com/serial-data-logger.htm

我想知道远程记录库和远程记录器软件之间有什么区别。

我想到的几件事:
1. 该库可在 C++ 程序中用于即时记录错误消息。
2. 库需要最终用户的编程知识。
3. 该软件不能在 C++ 程序“内部”使用,所以我们不能即时记录错误信息?不确定这个。

我想知道除了记录错误消息之外,使用远程日志库还有哪些意义?共享大文件?除了这两件事还有什么?

其次,在当前情况下,图书馆和软件的哪种方式更好?

4

2 回答 2

1

As I mentioned in the my comments to your question, I would think that a logging library would provide some sort of an API/SDK, whereas remote software would not. The same would hold true if its sending messages via TCP/UDP or a serial port. The difference between the 2 options would be how much coding you would have to do. That is, how much would you have to reinvent the wheel?

于 2012-05-08T07:43:53.820 回答
0

恕我直言,几乎所有调试环境/工具都支持将控制台输出重定向到串行端口(使用打印或其他 API)。它通常不是应用程序程序员的任务。

“远程记录”还有其他方法:

    1) syslog, syslog-ng 's remote service
    2) save log local, fetch using ftp
于 2012-05-08T07:06:12.637 回答