Java - general

divert System.out into a file

The following Code makes the diverting from System.out.println(..) into a file possible:


System.setOut(new PrintStream(new FileOutputStream("out.log")));



Eigene Werkzeuge
Werkzeuge

gratis Counter by GOWEB
seit 9.10.2007