public class LoggingListener extends Object implements ApplicationListener<AbstractYarnEvent>
ApplicationListener which logs all events
based on AbstractYarnEvent 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(AbstractYarnEvent event)
onApplicationEvent in interface ApplicationListener<AbstractYarnEvent>