| |
|
| java.lang.Object org.griphyn.cPlanner.common.DefaultStreamGobblerCallback
DefaultStreamGobblerCallback | public class DefaultStreamGobblerCallback implements StreamGobblerCallback(Code) | | The default callback for the stream gobbler, that logs all the messages to
a particular logging level. By default all the messages are logged onto the
DEBUG level.
author: Karan Vahi version: $Revision: 50 $ |
Method Summary | |
public void | work(String line) Callback whenever a line is read from the stream by the StreamGobbler. |
DefaultStreamGobblerCallback | public DefaultStreamGobblerCallback(int level)(Code) | | The overloaded constructor.
Parameters: level - the level on which to log. |
work | public void work(String line)(Code) | | Callback whenever a line is read from the stream by the StreamGobbler.
The line is logged to the level specified while initializing the
class.
Parameters: line - the line that is read. |
|
|
|