[vtkusers] Redirect the warning messages
    anast.jm at pg.com 
    anast.jm at pg.com
       
    Thu Jul 18 11:52:15 EDT 2002
    
    
  
Remy,
I was just looking at this myself....from a previous post
You can dump errors and warnings to a file by adding this in the start of your
program:
vtkFileOutputWindow *outwin = vtkFileOutputWindow::New();
outwin->SetFileName("logname.txt");
outwin->SetInstance(outwin);
...john
p.s. searching the user list archives will often turn these tips up quickly
                                                                
 Internet Mail Message                                          
 Received from host:      public.kitware.com                    
 [24.97.130.19]                                                 
                                                                
From: Rémy Baudet <baudet at ondim.fr>@public.kitware.com on 07/18/2002 05:16 PM
ZE2
                                                                                           
        Rémy Baudet <baudet at ondim.fr>           To:   "'VtkUsers'"                         
                  @public.kitware.com        <vtkusers at public.kitware.com>                 
                                                Cc:    (bcc: John Anast-JM/PGI)            
                                        Subject:      [vtkusers] Redirect the warning      
                             Sent by:        messages                                      
    vtkusers-admin at public.kitware.com                                                      
                  07/18/2002 11:16 AM                                                      
                                                                                           
                                                                                           
Hi,
I'm looking for a  way to redirect vtk warnings, to a file or any stream?
In vtkObject there  is only some fews methods on GlobalDisplayWarning...
Thanks a  lot.
Rémy  Baudet
ONDIM - Signal | Image  | Multimédia
Email : baudet at ondim.fr
Tél. :  +33.1.40.33.88.08
Fax : +33.1.40.33.65.54
Adresse : 14, rue du Soleillet- 75020  Paris
    
    
More information about the vtkusers
mailing list