Package eu.europa.esig.dss.alert.handler
Class LogHandler<T>
java.lang.Object
eu.europa.esig.dss.alert.handler.LogHandler<T>
- Type Parameters:
T
- the object to execute logging based on
- All Implemented Interfaces:
AlertHandler<T>
Implementation of
AlertHandler
which logs the object with the
specified Level
-
Constructor Summary
ConstructorDescriptionThe constructor used to log with aLevel.WARN
LogHandler
(org.slf4j.event.Level level) The default constructor -
Method Summary
-
Constructor Details
-
LogHandler
public LogHandler()The constructor used to log with aLevel.WARN
-
LogHandler
public LogHandler(org.slf4j.event.Level level) The default constructor- Parameters:
level
-Level
of the log
-
-
Method Details
-
process
Description copied from interface:AlertHandler
Alert user after some change or problem has been detected- Specified by:
process
in interfaceAlertHandler<T>
- Parameters:
object
- to execute the alert on
-