Class Logger
java.lang.Object
org.apache.taglibs.standard.lang.jstl.Logger
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.
- Version:
- $Change: 181177 $$DateTime: 2001/06/26 08:45:09 $$Author: kchung $
- Author:
- Nathan Abramson - Art Technology Group
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns true if the application should even bother to try logging an error.booleanReturns true if the application should even bother to try logging a warning.voidLogs an errorvoidLogs an errorvoidLogs an errorvoidLogs an errorvoidLogs an errorvoidLogs an errorvoidlogError(String pTemplate, Object pArg0, Object pArg1, Object pArg2, Object pArg3, Object pArg4, Object pArg5) Logs an errorvoidLogs an errorvoidLogs an errorvoidLogs an errorvoidLogs an errorvoidlogError(String pTemplate, Throwable pRootCause, Object pArg0, Object pArg1, Object pArg2, Object pArg3) Logs an errorvoidlogError(String pTemplate, Throwable pRootCause, Object pArg0, Object pArg1, Object pArg2, Object pArg3, Object pArg4) Logs an errorvoidlogError(String pTemplate, Throwable pRootCause, Object pArg0, Object pArg1, Object pArg2, Object pArg3, Object pArg4, Object pArg5) Logs an errorvoidLogs an errorvoidlogWarning(String pTemplate) Logs a warningvoidlogWarning(String pTemplate, Object pArg0) Logs a warningvoidlogWarning(String pTemplate, Object pArg0, Object pArg1) Logs a warningvoidlogWarning(String pTemplate, Object pArg0, Object pArg1, Object pArg2) Logs a warningvoidLogs a warningvoidLogs a warningvoidlogWarning(String pTemplate, Object pArg0, Object pArg1, Object pArg2, Object pArg3, Object pArg4, Object pArg5) Logs a warningvoidlogWarning(String pMessage, Throwable pRootCause) Logs a warningvoidlogWarning(String pTemplate, Throwable pRootCause, Object pArg0) Logs a warningvoidlogWarning(String pTemplate, Throwable pRootCause, Object pArg0, Object pArg1) Logs a warningvoidLogs a warningvoidlogWarning(String pTemplate, Throwable pRootCause, Object pArg0, Object pArg1, Object pArg2, Object pArg3) Logs a warningvoidlogWarning(String pTemplate, Throwable pRootCause, Object pArg0, Object pArg1, Object pArg2, Object pArg3, Object pArg4) Logs a warningvoidlogWarning(String pTemplate, Throwable pRootCause, Object pArg0, Object pArg1, Object pArg2, Object pArg3, Object pArg4, Object pArg5) Logs a warningvoidlogWarning(Throwable pRootCause) Logs a warning
-
Constructor Details
-
Logger
Constructor- Parameters:
pOut- the PrintStream to which warnings should be printed
-
-
Method Details
-
isLoggingWarning
public boolean isLoggingWarning()Returns true if the application should even bother to try logging a warning. -
logWarning
Logs a warning- Throws:
ELException
-
logWarning
Logs a warning- Throws:
ELException
-
logWarning
Logs a warning- Throws:
ELException
-
logWarning
Logs a warning- Throws:
ELException
-
logWarning
Logs a warning- Throws:
ELException
-
logWarning
Logs a warning- Throws:
ELException
-
logWarning
public void logWarning(String pTemplate, Throwable pRootCause, Object pArg0, Object pArg1) throws ELException Logs a warning- Throws:
ELException
-
logWarning
public void logWarning(String pTemplate, Object pArg0, Object pArg1, Object pArg2) throws ELException Logs a warning- Throws:
ELException
-
logWarning
public void logWarning(String pTemplate, Throwable pRootCause, Object pArg0, Object pArg1, Object pArg2) throws ELException Logs a warning- Throws:
ELException
-
logWarning
public void logWarning(String pTemplate, Object pArg0, Object pArg1, Object pArg2, Object pArg3) throws ELException Logs a warning- Throws:
ELException
-
logWarning
public void logWarning(String pTemplate, Throwable pRootCause, Object pArg0, Object pArg1, Object pArg2, Object pArg3) throws ELException Logs a warning- Throws:
ELException
-
logWarning
public void logWarning(String pTemplate, Object pArg0, Object pArg1, Object pArg2, Object pArg3, Object pArg4) throws ELException Logs a warning- Throws:
ELException
-
logWarning
public void logWarning(String pTemplate, Throwable pRootCause, Object pArg0, Object pArg1, Object pArg2, Object pArg3, Object pArg4) throws ELException Logs a warning- Throws:
ELException
-
logWarning
public void logWarning(String pTemplate, Object pArg0, Object pArg1, Object pArg2, Object pArg3, Object pArg4, Object pArg5) throws ELException Logs a warning- Throws:
ELException
-
logWarning
public void logWarning(String pTemplate, Throwable pRootCause, Object pArg0, Object pArg1, Object pArg2, Object pArg3, Object pArg4, Object pArg5) throws ELException Logs a warning- Throws:
ELException
-
isLoggingError
public boolean isLoggingError()Returns true if the application should even bother to try logging an error. -
logError
Logs an error- Throws:
ELException
-
logError
Logs an error- Throws:
ELException
-
logError
Logs an error- Throws:
ELException
-
logError
Logs an error- Throws:
ELException
-
logError
Logs an error- Throws:
ELException
-
logError
Logs an error- Throws:
ELException
-
logError
public void logError(String pTemplate, Throwable pRootCause, Object pArg0, Object pArg1) throws ELException Logs an error- Throws:
ELException
-
logError
Logs an error- Throws:
ELException
-
logError
public void logError(String pTemplate, Throwable pRootCause, Object pArg0, Object pArg1, Object pArg2) throws ELException Logs an error- Throws:
ELException
-
logError
public void logError(String pTemplate, Object pArg0, Object pArg1, Object pArg2, Object pArg3) throws ELException Logs an error- Throws:
ELException
-
logError
public void logError(String pTemplate, Throwable pRootCause, Object pArg0, Object pArg1, Object pArg2, Object pArg3) throws ELException Logs an error- Throws:
ELException
-
logError
public void logError(String pTemplate, Object pArg0, Object pArg1, Object pArg2, Object pArg3, Object pArg4) throws ELException Logs an error- Throws:
ELException
-
logError
public void logError(String pTemplate, Throwable pRootCause, Object pArg0, Object pArg1, Object pArg2, Object pArg3, Object pArg4) throws ELException Logs an error- Throws:
ELException
-
logError
public void logError(String pTemplate, Object pArg0, Object pArg1, Object pArg2, Object pArg3, Object pArg4, Object pArg5) throws ELException Logs an error- Throws:
ELException
-
logError
public void logError(String pTemplate, Throwable pRootCause, Object pArg0, Object pArg1, Object pArg2, Object pArg3, Object pArg4, Object pArg5) throws ELException Logs an error- Throws:
ELException
-