Class JKLogServicePublisher
java.lang.Object
com.jk.web.monitoring.JKMonitorService
com.jk.services.server.commons.util.JKLogServicePublisher
This class extends
JKMonitorService and is responsible for publishing
exceptions to a logging service.
It logs exceptions and sends them to the logging service using a
JKLogServiceClient.
- Version:
- 1.0
- Author:
- Dr. Jalal H. Kiswani
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.jk.web.monitoring.JKMonitorService
getIdToken, getInstance, getUserName, setInstance
-
Constructor Details
-
JKLogServicePublisher
public JKLogServicePublisher()This method constructs a newJKLogServicePublisher.
-
-
Method Details
-
publish
This method logs an error or exception.- Overrides:
publishin classJKMonitorService- Parameters:
request- Specifies theHttpServletRequestobject representing the current HTTP request.exception- Specifies the Throwable exception that needs to be logged.
-