Package org.javlo.utils
Class DebugListening
- java.lang.Object
-
- org.javlo.utils.DebugListening
-
public class DebugListening extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected static Logger
logger
create a static logger.static boolean
SEND_ERROR_MAIL
static StaticConfig
staticConfig
-
Constructor Summary
Constructors Constructor Description DebugListening()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DebugListening
getInstance()
static void
main(String[] args)
void
sendError(String message)
void
sendError(javax.servlet.ServletContext application, String message)
void
sendError(ContentContext ctx, String info)
void
sendError(ContentContext ctx, Throwable t)
void
sendError(ContentContext ctx, Throwable t, String info)
void
sendError(ContentContext ctx, StaticConfig staticConfig, Throwable t, String info)
void
setAppplication(javax.servlet.ServletContext appplication)
-
-
-
Field Detail
-
logger
protected static Logger logger
create a static logger.
-
staticConfig
public static StaticConfig staticConfig
-
SEND_ERROR_MAIL
public static final boolean SEND_ERROR_MAIL
- See Also:
- Constant Field Values
-
-
Method Detail
-
getInstance
public static DebugListening getInstance()
-
sendError
public void sendError(ContentContext ctx, StaticConfig staticConfig, Throwable t, String info)
-
main
public static void main(String[] args)
-
sendError
public void sendError(ContentContext ctx, String info)
-
sendError
public void sendError(ContentContext ctx, Throwable t)
-
sendError
public void sendError(ContentContext ctx, Throwable t, String info)
-
sendError
public void sendError(javax.servlet.ServletContext application, String message)
-
sendError
public void sendError(String message)
-
setAppplication
public void setAppplication(javax.servlet.ServletContext appplication)
-
-