ILOG CPLEX .NET Reference Manual

Cplex.SetOut Method 

Sets the default output stream of the invoking Cplex object.

public virtual void SetOut(
   TextWriter s
);

Parameters

s
The new default output stream.

Remarks

After this call, all logging output will be output via the new stream. Passing null as the new output stream will turn off all logging output.

See Also

Cplex Class | ILOG.CPLEX Namespace