This should be handled by "Debug" static field....:
public interface Modbus {
/**
* JVM flag for debug mode. Can be set passing the system property
* net.wimpi.modbus.debug=false|true (-D flag to the jvm).
*/
public static final boolean debug = "true".equals(System.getProperty("net.wimpi.modbus.debug"));
...
}
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This should be handled by "Debug" static field....: