Class ListenerExceptionLogger
java.lang.Object
com.codingchili.core.listener.transport.ListenerExceptionLogger
Logger with additional metadata used for listeners to provide additional
context information such as the attached handler.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Logger
create(CoreContext core, CoreListener listener, CoreHandler handler)
-
Constructor Details
-
ListenerExceptionLogger
public ListenerExceptionLogger()
-
-
Method Details
-
create
- 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.
-