stephane / libmodbus

A Modbus library for Linux, Mac OS, FreeBSD and Windows
http://libmodbus.org
GNU Lesser General Public License v2.1
3.33k stars 1.71k forks source link

Enhancement Request: ability to redirect traces to any file, debug feature #41

Closed rvcyclo closed 12 years ago

rvcyclo commented 12 years ago

It would be a nice debug facility to have ability to dump traces to any file instead of stdout and stderr as of today. This could be a setting, active when setting debug active with modbus_set_debug(). I'm ready to propose API and code the feature. (In fact I've already done it for other software). Sorry if this is not the place for ER's (Enhancement Request), I could not find one. If so, help me by redirecting the request. Thanks

stephane commented 12 years ago

You can provide a solution, but another solution would be to depend on glib for this.

rvcyclo commented 12 years ago

I am volunteer to contribute. Please help me on how to do (or if not desired). Can we have a call about this to speed it up ? You can first contact me on my email address, there I'll give you my phone # in France.

stephane commented 12 years ago

I prefer to talk about that on just open libmodbus mailing list http://groups.google.com/group/libmodbus/ so many people will be able to participe.