| org.directwebremoting.util.LoggingOutput
All known Subclasses: org.directwebremoting.util.ServletLoggingOutput, org.directwebremoting.util.CommonsLoggingOutput, org.directwebremoting.util.SystemOutLoggingOutput,
LoggingOutput | public interface LoggingOutput (Code) | | We don't want to force users to use commons-logging, but there are no
logging APIs available at 1.3 so this lets us use Servlet.log if
commons-logging is not available.
author: Joe Walker [joe at getahead dot ltd dot uk] |
Field Summary | |
final public static int | LEVEL_DEBUG Testing information. | final public static int | LEVEL_ERROR Something has gone wrong with the current request. | final public static int | LEVEL_FATAL Something has gone very badly wrong. | final public static int | LEVEL_INFO An event happened that we might need to keep track of. | final public static int | LEVEL_WARN Something has gone wrong, but it could well be the users fault. |
LEVEL_DEBUG | final public static int LEVEL_DEBUG(Code) | | Testing information.
|
LEVEL_ERROR | final public static int LEVEL_ERROR(Code) | | Something has gone wrong with the current request.
The user will notice that we've broken something.
|
LEVEL_FATAL | final public static int LEVEL_FATAL(Code) | | Something has gone very badly wrong.
Processing is likely to stop.
|
LEVEL_INFO | final public static int LEVEL_INFO(Code) | | An event happened that we might need to keep track of.
|
LEVEL_WARN | final public static int LEVEL_WARN(Code) | | Something has gone wrong, but it could well be the users fault.
No need to panic yet.
|
debug | public void debug(String message)(Code) | | Logger a debug message
Parameters: message - The text to log |
error | public void error(String message)(Code) | | Logger an error message
Parameters: message - The text to log |
error | public void error(String message, Throwable th)(Code) | | Logger an error message
Parameters: message - The text to log Parameters: th - An optional stack trace |
fatal | public void fatal(String message)(Code) | | Logger a fatal error message
Parameters: message - The text to log |
fatal | public void fatal(String message, Throwable th)(Code) | | Logger a fatal error message
Parameters: message - The text to log Parameters: th - An optional stack trace |
info | public void info(String message)(Code) | | Logger an info message
Parameters: message - The text to log |
isDebugEnabled | public boolean isDebugEnabled()(Code) | | Save CPU time when we are not debugging
true if debugging is enabled |
warn | public void warn(String message)(Code) | | Logger a warning message
Parameters: message - The text to log |
warn | public void warn(String message, Throwable th)(Code) | | Logger a warning message
Parameters: message - The text to log Parameters: th - An optional stack trace |
|
|