public class LogStreamHandler extends PumpStreamHandler
PumpStreamHandler.ThreadWithPumper
Constructor and Description |
---|
LogStreamHandler(ProjectComponent pc,
int outlevel,
int errlevel)
Creates log stream handler
|
LogStreamHandler(Task task,
int outlevel,
int errlevel)
Creates log stream handler
|
Modifier and Type | Method and Description |
---|---|
void |
stop()
Stop the log stream handler.
|
createProcessErrorPump, createProcessOutputPump, createPump, createPump, createPump, finish, getErr, getOut, setProcessErrorStream, setProcessInputStream, setProcessOutputStream, start
public LogStreamHandler(ProjectComponent pc, int outlevel, int errlevel)
pc
- the project component for whom to logoutlevel
- the loglevel used to log standard outputerrlevel
- the loglevel used to log standard errorpublic LogStreamHandler(Task task, int outlevel, int errlevel)
task
- the task for whom to logoutlevel
- the loglevel used to log standard outputerrlevel
- the loglevel used to log standard errorpublic void stop()
stop
in interface ExecuteStreamHandler
stop
in class PumpStreamHandler