Skip to content
nyholku edited this page Oct 31, 2012 · 2 revisions

#Logging

You can turn on the logging by setting the system property purejavacomm.loglevel to a value in the range 0-7.

Turning on the logging will cause PureJavaComm to output progress information to the console.

The default level is 0 at which nothing is output.

Increasing numbers produce progressively more information.

At level 1 only critical information is output, at level 5 every operating system call and return values are logged.

At level 7 logging info includes the class and line number where is each system call happens.

Clone this wiki locally