[]
Constructs a StreamMsgLogger that uses 'outstr' as the 'out' stream, and 'errstr' as the 'err' stream. Note that 'outstr' and 'errstr' can be System.out and System.err.
public StreamMsgLogger(Stream outstr, Stream errstr, int lw)
Public Sub New(outstr As Stream, errstr As Stream, lw As Integer)
| Type | Name | Description |
|---|---|---|
| Stream | outstr | Where to print simple strings and LOG and INFO messages. |
| Stream | errstr | Where to print WARNING and ERROR messages |
| int | lw | The line width to use in formatting |
Constructs a StreamMsgLogger that uses 'outstr' as the 'out' stream, and 'errstr' as the 'err' stream. Note that 'outstr' and 'errstr' can be System.out and System.err.
public StreamMsgLogger(StreamWriter outstr, StreamWriter errstr, int lw)
Public Sub New(outstr As StreamWriter, errstr As StreamWriter, lw As Integer)
| Type | Name | Description |
|---|---|---|
| StreamWriter | outstr | Where to print simple strings and LOG and INFO messages. |
| StreamWriter | errstr | Where to print WARNING and ERROR messages |
| int | lw | The line width to use in formatting |