| java.lang.Object org.directwebremoting.util.ServletLoggingOutput
ServletLoggingOutput | public class ServletLoggingOutput implements LoggingOutput(Code) | | An implementation of LoggingOutput that sends stuff to the Servlet.log
stream.
author: Joe Walker [joe at getahead dot ltd dot uk] |
ServletLoggingOutput | public ServletLoggingOutput(Class> base)(Code) | | Parameters: base - All LoggingOutput must have a constructor like this |
getLevel | public static int getLevel()(Code) | | Returns the logging level. |
isDebugEnabled | public boolean isDebugEnabled()(Code) | | |
setExecutionContext | public static void setExecutionContext(HttpServlet servlet)(Code) | | Associate a servlet with this thread for logging purposes.
Parameters: servlet - The servlet to use for logging in this thread |
setLevel | public static void setLevel(String logLevel)(Code) | | String version of setLevel.
Parameters: logLevel - One of FATAL, ERROR, WARN, INFO, DEBUG |
setLevel | public static void setLevel(int level)(Code) | | Parameters: level - The logging level to set. |
unsetExecutionContext | public static void unsetExecutionContext()(Code) | | Remove the servlet from this thread for logging purposes
|
|
|