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>

public class LogHandler<T> extends Object implements AlertHandler<T>
Implementation of AlertHandler which logs the object with the specified Level
  • Constructor Details

    • LogHandler

      public LogHandler()
      The constructor used to log with a Level.WARN
    • LogHandler

      public LogHandler(org.slf4j.event.Level level)
      The default constructor
      Parameters:
      level - Level of the log
  • Method Details

    • process

      public void process(T object)
      Description copied from interface: AlertHandler
      Alert user after some change or problem has been detected
      Specified by:
      process in interface AlertHandler<T>
      Parameters:
      object - to execute the alert on