Hi, I'm running some applications using Fsa by extending Core::Application, and I'm wondering if there's a simple way to suppress the xml and indentation that get printed when I use standard out. It looks like this: <?xml version="1.0" encoding="ISO-8859-1"?> <sprint> </sprint> and everything in between is indented two spaces. Thanks, Roy Tromble
Hi Roy, On Wednesday 13 April 2005 16:06, Roy Tromble wrote:
I'm running some applications using Fsa by extending Core::Application, and I'm wondering if there's a simple way to suppress the xml and indentation that get printed when I use standard out. It looks like this:
<?xml version="1.0" encoding="ISO-8859-1"?> <sprint>
</sprint>
and everything in between is indented two spaces.
Log files from the application framework are supposed to be data structures and therefore the default is an xml stream. Call the following functions in your application constructor and you get an application without xml output: setDefaultOutputXmlHeader(false); Look at src/Tools/Fsa/Fsa.cc for more details... Cheers, Stephan
participants (2)
-
Roy Tromble
-
Stephan Kanthak