public class LoggingListener extends java.lang.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(java.lang.String level)
Constructs Logger listener with given level.
|
| Modifier and Type | Method and Description |
|---|---|
void |
onApplicationEvent(AbstractStoreEvent event) |
public LoggingListener()
public LoggingListener(java.lang.String level)
level - the level stringpublic void onApplicationEvent(AbstractStoreEvent event)
onApplicationEvent in interface ApplicationListener<AbstractStoreEvent>