|
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||||
java.lang.Object
|
+--com.protomatter.syslog.xml.SimpleSyslogTextFormatter_Helper
|
+--com.protomatter.syslog.xml.JDK14SyslogTextFormatter_Helper
XML configuration helper for JDK14SyslogTextFormatter.
| Constructor Summary | |
JDK14SyslogTextFormatter_Helper()
|
|
| Method Summary | |
void |
configure(java.lang.Object o,
org.jdom.Element e)
Configure this text formatter 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 JDK14SyslogTextFormatter_Helper()
| Method Detail |
public void configure(java.lang.Object o,
org.jdom.Element e)
throws SyslogInitException
<Format class="com.protomatter.syslog.JDK14SyslogTextFormatter" >
<!--
Config params from
|
| Element | ||
| name | value | required |
| overrideClass | true or false -- decide if the formatter should override the class name with one automatically determined. | no (default is true) |
| includeMethod | true or false -- decide if the logger should include the method name in the class portion of the log. This has no effect unless the overrideClass option is set to true. | no (default is true) |
| includeLineNumber | true or false -- decide if the logger should include the line number in the class portion of the log. This has no effect unless the includeMethod option is set to true. | no (default is true) |
configure in class SimpleSyslogTextFormatter_Helper
public org.jdom.Element getConfiguration(java.lang.Object o,
org.jdom.Element element)
XMLConfigHelpergetConfiguration in class SimpleSyslogTextFormatter_Helper
|
Protomatter Software v1.1.7 Copyright 1998-2002 Nate Sammons |
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
| Protomatter Software v1.1.7 | http://protomatter.sourceforge.net/1.1.7 |