[vtk-developers] capturing vtkDebug,GenericWarning,Error_Macro text output

Rasmus Reinhold Paulsen rrp at imm.dtu.dk
Tue Nov 26 15:41:19 EST 2002


vtkFileOutputWindow *outwin = vtkFileOutputWindow::New();
  outwin->SetFileName("log.txt");
  outwin->SetInstance(outwin);

Regards,
Rasmus


On Tue, 26 Nov 2002, Dean Inglis wrote:

> is there a way to capture/redirect the output
> of the vtkDebug,GenericWarning,Error_Macro text output
> to a text file or to std::cout ?




More information about the vtk-developers mailing list