Package eu.europa.esig.dss.alert.handler
Class LogHandler<T>
java.lang.Object
eu.europa.esig.dss.alert.handler.LogHandler<T>
- All Implemented Interfaces:
AlertHandler<T>
public class LogHandler<T> extends Object implements AlertHandler<T>
Implementation of
AlertHandler
which logs the object with the
specified Level
-
Constructor Summary
Constructors Constructor Description LogHandler()
The 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
-