public class LoggingListener extends Object implements InstrumentedContext.Listener
InstrumentedContext.Listener that prints to an slf4j Logger.InstrumentedContext.Listener.Phase| Modifier and Type | Field and Description |
|---|---|
private static org.slf4j.Logger |
LOG |
| Constructor and Description |
|---|
LoggingListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
status(TaskId task,
InstrumentedContext.Listener.Phase phase) |
void |
task(Task<?> task) |
public void task(Task<?> task)
task in interface InstrumentedContext.Listenerpublic void status(TaskId task, InstrumentedContext.Listener.Phase phase)
status in interface InstrumentedContext.ListenerCopyright © 2017. All Rights Reserved.