Wie schreibt man Consolen-Ausgaben automatisch in eine Logdatei?