MangoAutomation / modbus4j

A high-performance and ease-of-use implementation of the Modbus protocol written in Java. Supports ASCII, RTU, TCP, and UDP transports as slave or master, automatic request partitioning and response data type parsing.
GNU General Public License v3.0
897 stars 370 forks source link

Should we need a MessageControlListener? #47

Closed Xc2333 closed 3 years ago

Xc2333 commented 3 years ago

You konw, usually we need to record the content of sent and received. Now we had DEBUG that log control variables in MessageControl, but it is inconvenient for use ,so it may be more useful to add a listener to MessageControl.

Hope this suggestion can be adopted :)

Xc2333 commented 3 years ago

sorry i saw the package com.serotonin.modbus4j.sero.log, using IOLog seems to meet the demand, but I need to do some work....thx