[]
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)
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)
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 |