Implementation of
java.util.logging.Formatter that generates xml in the log4j format.
The generated xml corresponds 100% with what is generated by
log4j's XMLLayout
The MDC properties will only be correct when format is called from the same thread
that generated the LogRecord.
The file and line attributes in the locationInfo element will always be "?"
since java.util.logging.LogRecord does not provide that info.
The implementation is heavily based on org.apache.log4j.xml.XMLLayout
|