edu.isi.pegasus.common.util
public class DefaultStreamGobblerCallback extends Object implements StreamGobblerCallback
| Modifier and Type | Field and Description |
|---|---|
private int |
mLevel
The level on which the messages are to be logged.
|
private LogManager |
mLogger
The instance to the logger to log messages.
|
| Constructor and Description |
|---|
DefaultStreamGobblerCallback(int level)
The overloaded constructor.
|
private int mLevel
private LogManager mLogger
public DefaultStreamGobblerCallback(int level)
level - the level on which to log.public void work(String line)
work in interface StreamGobblerCallbackline - the line that is read.