The Message class is used for logging. Messages are only output if the current message levels are high enough for the specific message. This allows a tiered filtering of the amount of output.
There are times when debug is disabled for the application but specific software components turn debug on, such as for a single datastore that is having issues. In this case, calling printDebug will never print a message because debug is off for the application. What is needed is a "force" parameter so that the message will always be output.
The
Messageclass is used for logging. Messages are only output if the current message levels are high enough for the specific message. This allows a tiered filtering of the amount of output.There are times when debug is disabled for the application but specific software components turn debug on, such as for a single datastore that is having issues. In this case, calling
printDebugwill never print a message because debug is off for the application. What is needed is a "force" parameter so that the message will always be output.