Tries to be smart about line separators.
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private ProjectComponent |
| Access | Constructor and Description |
|---|---|
| public | LogOutputStream(ProjectComponent
the project component for whom to log pc)Create a new LogOutputStream for the specified ProjectComponent. |
| public | LogOutputStream(Task
the task for whom to log task, int loglevel used to log data written to this stream. level)Creates a new instance of this class. |
| public | LogOutputStream(ProjectComponent
the project component for whom to log pc, int loglevel used to log data written to this stream. level)Creates a new instance of this class. |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| protected void | processBuffer()
Overrides org. processLine
|
| protected void | processLine(String
the line to log. line)Implements abstract org. |
| protected void | processLine(String
the line to log. line, int the logging level to use. level)Logs a line to the log system of ant. |
| LogOutputStream | back to summary |
|---|---|
| public LogOutputStream(ProjectComponent pc) Create a new LogOutputStream for the specified ProjectComponent.
| |
| LogOutputStream | back to summary |
|---|---|
| public LogOutputStream(Task task, int level) Creates a new instance of this class.
| |
| LogOutputStream | back to summary |
|---|---|
| public LogOutputStream(ProjectComponent pc, int level) Creates a new instance of this class.
| |
| getMessageLevel | back to summary |
|---|---|
| public int getMessageLevel() Get the level.
| |
| processBuffer | back to summary |
|---|---|
| protected void processBuffer() Overrides org. Converts the buffer to a string and sends it to | |
| processLine | back to summary |
|---|---|
| protected void processLine(String line) Implements abstract org. Logs a line to the log system of ant.
| |
| processLine | back to summary |
|---|---|
| protected void processLine(String line, int level) Logs a line to the log system of ant.
| |