CVS Log for src/RATIOStream.cc,v



head 1.2;

Version 1.2
@gcc 2.96 defines iostreams differently, so this patch fixes the cout/cerr capture on Redhat 7.3
date 2005.10.26.02.21.55; author volsung; state Exp;

Version 1.1
@Capture cout and cerr output by linking our own custom version of these objects to the rat application and overriding the system library versions. This redirects all C++ style output, via cout/cerr or G4cout/G4cerr, in the entire application (including GEANT4 and GLG4sim parts) through the RATLog system. Old C-style I/O through the stdout/stderr file handles will go direct still, but no one should be doing that. (Except RATLog itself, which uses stdio to avoid circularity.) By default cout goes to the "info" stream and cerr goes to the "warn" stream. This all amazingly "just works" on Linux, but Solaris requires a few extra linker flags in the Makefile.
date 2005.10.25.20.15.52; author volsung; state Exp;


Back to files page.

Matthew Worcester
Last modified: Tue Oct 25 21:22:00 CDT 2005