Class ListenerExceptionLogger

java.lang.Object
com.codingchili.core.listener.transport.ListenerExceptionLogger

public class ListenerExceptionLogger extends Object
Logger with additional metadata used for listeners to provide additional context information such as the attached handler.
  • Constructor Details

    • ListenerExceptionLogger

      public ListenerExceptionLogger()
  • Method Details

    • create

      public static Logger create(CoreContext core, CoreListener listener, CoreHandler handler)
      Parameters:
      core - the core context.
      listener - the listener that the logger is created for.
      handler - the handler that is attached to the listener.
      Returns:
      a logger with metadata which includes information about the handler/listener.