在哪里可以找到适用于Windows Mobile的灵活日志记录库?

时间:2022-06-15 15:04:57

Can anyone suggest any open and free library for logging on Windows Mobile application written in C++?

任何人都可以建议任何开放和免费的库来登录用C ++编写的Windows Mobile应用程序吗?

It would be nice if it supports logging to files, syslog (would be nice) and logging level.

如果它支持记录到文件,syslog(会很好)和日志记录级别会很好。

3 个解决方案

#1


None that I know of.

没有我知道的。

You will most likely have to look for source code available logging libraries. Windows Mobile will pretty much compile most win32 code with no or little changes, so any win32 logging library should work.

您很可能必须查找可用的源代码日志库。 Windows Mobile几乎可以编译大多数win32代码而没有或只有很少的更改,因此任何win32日志记录中数据。

Generally I build my own as I like fine gained control over my logging code.

一般来说,我建立自己的,因为我喜欢很好地控制我的日志代码。

#2


Perhaps you could see if the logging from http://pt-framework.sourceforge.net/ fits your needs. I don't know if syslog is supported.

也许您可以看到来自http://pt-framework.sourceforge.net/的日志记录是否符合您的需求。我不知道是否支持syslog。

#3


I'm currently using log4net in one of my compact framework projects. It's probably not ideal for production though, as the dll is 220k!

我目前正在我的一个紧凑框架项目中使用log4net。它可能不适合生产,因为dll是220k!

#1


None that I know of.

没有我知道的。

You will most likely have to look for source code available logging libraries. Windows Mobile will pretty much compile most win32 code with no or little changes, so any win32 logging library should work.

您很可能必须查找可用的源代码日志库。 Windows Mobile几乎可以编译大多数win32代码而没有或只有很少的更改,因此任何win32日志记录中数据。

Generally I build my own as I like fine gained control over my logging code.

一般来说,我建立自己的,因为我喜欢很好地控制我的日志代码。

#2


Perhaps you could see if the logging from http://pt-framework.sourceforge.net/ fits your needs. I don't know if syslog is supported.

也许您可以看到来自http://pt-framework.sourceforge.net/的日志记录是否符合您的需求。我不知道是否支持syslog。

#3


I'm currently using log4net in one of my compact framework projects. It's probably not ideal for production though, as the dll is 220k!

我目前正在我的一个紧凑框架项目中使用log4net。它可能不适合生产,因为dll是220k!