TargetFactory for
org.apache.log.output.io.StreamTarget .
This factory is able to create different StreamTargets according to the following
configuration syntax:
<stream id="foo">
<stream>stream-context-name</stream>
<format type="raw|pattern|extended|xml|cocoon">pattern to be used if needed</format>
</stream>
The "stream-context-name" is the name of an java.io.OutputStream that
is fetched in the context. This context contains two predefined streams :
"System.out " for the system output stream,
"System.err " for the system error stream.
The syntax of "format" is the same as in CocoonTargetFactory .
author: Giacomo Pati version: CVS $Id: CocoonStreamTargetFactory.java 433543 2006-08-22 06:22:54Z crossley $ |