Hello,

you could create your own PrintStream and set that as System.out, try something like this.


import java.io.OutputStream;
import java.io.PrintStream;

public class SysOutTest {