org.oddjob.logging.log4j
Class LogoutType
java.lang.Object
org.oddjob.logging.log4j.LogoutType
- All Implemented Interfaces:
- ArooaValue, ValueFactory<OutputStream>
public class LogoutType
- extends Object
- implements ValueFactory<OutputStream>
Description
Provide an output to a logger. With a default
Oddjob configuration log messages will be visible in the Log panel
of Oddjob Explorer.Example
Copy the contents of a file to the logger.
<oddjob id="this">
<job>
<copy>
<input>
<file file="${this.args[0]}/test/io/TestFile.txt"/>
</input>
<output>
<logout/>
</output>
</copy>
</job>
</oddjob>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LogoutType
public LogoutType()
toValue
public OutputStream toValue()
throws ArooaConversionException
- Description copied from interface:
ValueFactory
- Provide an instance of the type this is a factory for.
- Specified by:
toValue
in interface ValueFactory<OutputStream>
- Returns:
- An instance of the type. May be null.
- Throws:
ArooaConversionException
- If unable to provide a value.
getLogger
public String getLogger()
setLogger
public void setLogger(String logger)
getLevel
public String getLevel()
setLevel
public void setLevel(String level)