|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.avalon.composition.logging.TargetProvider
org.apache.avalon.composition.logging.impl.FileTargetProvider
File target provider descriptor declares the criteria for creation of an file based logging target.
XML
A file target element may be contained within a target element to declare the target as a file based logging sink.
<target name="kernel"> <file location="kernel.log" /> </target>
TargetProvider
,
Serialized FormConstructor Summary | |
FileTargetProvider(String location)
Creation of a new file target. |
Method Summary | |
String |
getLocation()
Return the filename of the logging target. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FileTargetProvider(String location)
location
- the filename of the logging destinationMethod Detail |
public String getLocation()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |