| java.lang.Object org.jbpm.jpdl.el.impl.Logger
Logger | public class Logger (Code) | | The evaluator may pass an instance of this class to operators
and expressions during evaluation. They should use this to log any
warning or error messages that might come up. This allows all of
our logging policies to be concentrated in one class.
Errors are conditions that are severe enough to abort operation.
Warnings are conditions through which the operation may continue,
but which should be reported to the developer.
author: Nathan Abramson - Art Technology Group version: $Change: 181177 $$DateTime: 2001/06/26 08:45:09 $$Author$ |
Method Summary | |
public boolean | isLoggingError() Returns true if the application should even bother to try logging
an error. | public boolean | isLoggingWarning() Returns true if the application should even bother to try logging
a warning. | public void | logError(String pMessage, Throwable pRootCause) | public void | logError(String pTemplate) | public void | logError(Throwable pRootCause) | public void | logError(String pTemplate, Object pArg0) | public void | logError(String pTemplate, Throwable pRootCause, Object pArg0) | public void | logError(String pTemplate, Object pArg0, Object pArg1) | public void | logError(String pTemplate, Throwable pRootCause, Object pArg0, Object pArg1) | public void | logError(String pTemplate, Object pArg0, Object pArg1, Object pArg2) | public void | logError(String pTemplate, Throwable pRootCause, Object pArg0, Object pArg1, Object pArg2) | public void | logError(String pTemplate, Object pArg0, Object pArg1, Object pArg2, Object pArg3) | public void | logError(String pTemplate, Throwable pRootCause, Object pArg0, Object pArg1, Object pArg2, Object pArg3) | public void | logError(String pTemplate, Object pArg0, Object pArg1, Object pArg2, Object pArg3, Object pArg4) | public void | logError(String pTemplate, Throwable pRootCause, Object pArg0, Object pArg1, Object pArg2, Object pArg3, Object pArg4) | public void | logError(String pTemplate, Object pArg0, Object pArg1, Object pArg2, Object pArg3, Object pArg4, Object pArg5) | public void | logError(String pTemplate, Throwable pRootCause, Object pArg0, Object pArg1, Object pArg2, Object pArg3, Object pArg4, Object pArg5) | public void | logWarning(String pMessage, Throwable pRootCause) | public void | logWarning(String pTemplate) | public void | logWarning(Throwable pRootCause) | public void | logWarning(String pTemplate, Object pArg0) | public void | logWarning(String pTemplate, Throwable pRootCause, Object pArg0) | public void | logWarning(String pTemplate, Object pArg0, Object pArg1) | public void | logWarning(String pTemplate, Throwable pRootCause, Object pArg0, Object pArg1) | public void | logWarning(String pTemplate, Object pArg0, Object pArg1, Object pArg2) | public void | logWarning(String pTemplate, Throwable pRootCause, Object pArg0, Object pArg1, Object pArg2) | public void | logWarning(String pTemplate, Object pArg0, Object pArg1, Object pArg2, Object pArg3) | public void | logWarning(String pTemplate, Throwable pRootCause, Object pArg0, Object pArg1, Object pArg2, Object pArg3) | public void | logWarning(String pTemplate, Object pArg0, Object pArg1, Object pArg2, Object pArg3, Object pArg4) | public void | logWarning(String pTemplate, Throwable pRootCause, Object pArg0, Object pArg1, Object pArg2, Object pArg3, Object pArg4) | public void | logWarning(String pTemplate, Object pArg0, Object pArg1, Object pArg2, Object pArg3, Object pArg4, Object pArg5) | public void | logWarning(String pTemplate, Throwable pRootCause, Object pArg0, Object pArg1, Object pArg2, Object pArg3, Object pArg4, Object pArg5) |
Logger | public Logger(PrintStream pOut)(Code) | | Constructor
Parameters: pOut - the PrintStream to which warnings should be printed |
isLoggingError | public boolean isLoggingError()(Code) | | Returns true if the application should even bother to try logging
an error.
|
isLoggingWarning | public boolean isLoggingWarning()(Code) | | Returns true if the application should even bother to try logging
a warning.
|
|
|