public class LoggingListener extends Object implements ApplicationListener<AbstractStoreEvent>
ApplicationListener which logs all events based on
AbstractStoreEvent using a log level set during the construction.| Constructor and Description |
|---|
LoggingListener()
Constructs Logger listener with debug level.
|
LoggingListener(String level)
Constructs Logger listener with given level.
|
public LoggingListener()
public LoggingListener(String level)
level - the level stringpublic void onApplicationEvent(AbstractStoreEvent event)
onApplicationEvent in interface ApplicationListener<AbstractStoreEvent>