|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.protomatter.syslog.xml.SimpleLogPolicy_Helper
XML configuration helper for SimpleLogPolicy.
Constructor Summary | |
SimpleLogPolicy_Helper()
|
Method Summary | |
void |
configure(java.lang.Object what,
org.jdom.Element e)
Configure this policy given the XML element. |
org.jdom.Element |
getConfiguration(java.lang.Object o,
org.jdom.Element element)
Encode the given object's configuration into the given XML element. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SimpleLogPolicy_Helper()
Method Detail |
public void configure(java.lang.Object what, org.jdom.Element e) throws SyslogInitException
<Policy class="PolicyClassName" > <logMask>LogMask</logMask> <channels>ChannelList</channels> </Policy> |
This class reads the "logMask" and "channels" elements.
Element | ||
name | value | required |
logMask | A log mask string. Integers are treated as raw masks and log level names (DEBUG, INFO, WARNING, ERROR and FATAL) are interpreted as at-or-above the given level. | no (default is INHERIT_MASK) |
channels | A comma and/or space separated list of channel names. The constants DEFAULT_CHANNEL and ALL_CHANNEL are interpreted as their symbolic values. | no (default is ALL_CHANNEL) |
configure
in interface XMLConfigHelper
public org.jdom.Element getConfiguration(java.lang.Object o, org.jdom.Element element)
XMLConfigHelper
getConfiguration
in interface XMLConfigHelper
|
Protomatter Classes v1.1.6 Copyright 1998-2001 Nate Sammons |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Protomatter Classes v1.1.6 | http://protomatter.sourceforge.net/1.1.6 |