
package uk.co.wingpath.modbus;

/**
* This interface is used by {@link Tracer} for writing output.
*/
public interface Logger
{
    /**
    * Writes a line of log output.
    * <p>Note that this method is <emphasis>not</emphasis> normally called
    * from the Event Dispatch Thread.
    * @param helpId help identifier for any help associated with the line.
    * {@code null} if there is no associated help.
    * @param line line of text to be written.
    */
    public void writeLine (String helpId, String line);
}

