[]
        
(Showing Draft Content)

CSJ2K.j2k.util.StreamMsgLogger.-ctor

StreamMsgLogger Constructor

StreamMsgLogger(Stream, Stream, int)

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.

Declaration
public StreamMsgLogger(Stream outstr, Stream errstr, int lw)
Parameters
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

StreamMsgLogger(StreamWriter, StreamWriter, int)

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.

Declaration
public StreamMsgLogger(StreamWriter outstr, StreamWriter errstr, int lw)
Parameters
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