Handles output of status messages. Authors are encouraged to provide status information using the methods:
writeStatus(String message);
writeVerboseStatus(String message);
... instead of using System.out.println(...)
. This allows the user to control the output of status messages in one place.
By default, messages are written to std out, and only "standard" messages are written (i.e. from calls to writeStatus()
, not writeVerboseStatus()
). This can be changed at startup by setting the following system properties:
ca.uhn.hl7v2.util.status.out = ["STANDARD_OUT" | "FILE"]
ca.uhn.hl7v2.util.status.level = ["NONE" | "STANDARD" | "VERBOSE"]
If a programmer wishes to log status messages more reliably and without user control, (s)he should use ca.uhn.hl7v2.Log
instead.
@deprecated use ca.uhn.log package
@author Bryan Tripp