Package play.modules.logger
Class ExceptionsMonitoringPlugin
- java.lang.Object
-
- play.PlayPlugin
-
- play.modules.logger.ExceptionsMonitoringPlugin
-
- All Implemented Interfaces:
java.lang.Comparable<PlayPlugin>
public class ExceptionsMonitoringPlugin extends PlayPlugin
-
-
Field Summary
-
Fields inherited from class play.PlayPlugin
index
-
-
Constructor Summary
Constructors Constructor Description ExceptionsMonitoringPlugin()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.Map<java.lang.String,java.util.concurrent.atomic.AtomicInteger>getExceptions()java.lang.StringgetStatus()Return the plugin statusstatic voidregister(java.lang.String source, java.lang.String message)static voidregister(java.lang.String source, java.lang.Throwable e)static voidresetExceptions()-
Methods inherited from class play.PlayPlugin
afterActionInvocation, afterApplicationStart, afterInvocation, beforeActionInvocation, beforeInvocation, bind, compareTo, detectChange, disable, getJsonStatus, getMessage, isEnabled, loadTemplate, onActionInvocationException, onActionInvocationFinally, onActionInvocationResult, onActionInvocationResult, onApplicationStart, onApplicationStop, onConfigurationRead, onInvocationSuccess, onJobInvocationException, onJobInvocationFinally, onLoad, rawInvocation, routeRequest
-
-
-
-
Method Detail
-
register
public static void register(java.lang.String source, java.lang.Throwable e)
-
register
public static void register(java.lang.String source, java.lang.String message)
-
getStatus
public java.lang.String getStatus()
Description copied from class:PlayPluginReturn the plugin status- Overrides:
getStatusin classPlayPlugin- Returns:
- the plugin status
-
getExceptions
public static java.util.Map<java.lang.String,java.util.concurrent.atomic.AtomicInteger> getExceptions()
-
resetExceptions
public static void resetExceptions()
-
-