| 1 |
<!-- DTD used by the java.util.logging.XMLFormatter --> |
| 2 |
<!-- This provides an XML formatted log message. --> |
| 3 |
|
| 4 |
<!-- The document type is "log" which consists of a sequence |
| 5 |
of record elements --> |
| 6 |
<!ELEMENT log (record*)> |
| 7 |
|
| 8 |
<!-- Each logging call is described by a record element. --> |
| 9 |
<!ELEMENT record (date, millis, sequence, logger?, level, |
| 10 |
class?, method?, thread?, message, key?, catalog?, param*, exception?)> |
| 11 |
|
| 12 |
<!-- Date and time when LogRecord was created in ISO 8601 format --> |
| 13 |
<!ELEMENT date (#PCDATA)> |
| 14 |
|
| 15 |
<!-- Time when LogRecord was created in milliseconds since |
| 16 |
midnight January 1st, 1970, UTC. --> |
| 17 |
<!ELEMENT millis (#PCDATA)> |
| 18 |
|
| 19 |
<!-- Unique sequence number within source VM. --> |
| 20 |
<!ELEMENT sequence (#PCDATA)> |
| 21 |
|
| 22 |
<!-- Name of source Logger object. --> |
| 23 |
<!ELEMENT logger (#PCDATA)> |
| 24 |
|
| 25 |
<!-- Logging level, may be either one of the constant |
| 26 |
names from java.util.logging.Level (such as "SEVERE" |
| 27 |
or "WARNING") or an integer value such as "20". --> |
| 28 |
<!ELEMENT level (#PCDATA)> |
| 29 |
|
| 30 |
<!-- Fully qualified name of class that issued |
| 31 |
logging call, e.g. "javax.marsupial.Wombat". --> |
| 32 |
<!ELEMENT class (#PCDATA)> |
| 33 |
|
| 34 |
<!-- Name of method that issued logging call. |
| 35 |
It may be either an unqualified method name such as |
| 36 |
"fred" or it may include argument type information |
| 37 |
in parenthesis, for example "fred(int,String)". --> |
| 38 |
<!ELEMENT method (#PCDATA)> |
| 39 |
|
| 40 |
<!-- Integer thread ID. --> |
| 41 |
<!ELEMENT thread (#PCDATA)> |
| 42 |
|
| 43 |
<!-- The message element contains the text string of a log message. --> |
| 44 |
<!ELEMENT message (#PCDATA)> |
| 45 |
|
| 46 |
<!-- If the message string was localized, the key element provides |
| 47 |
the original localization message key. --> |
| 48 |
<!ELEMENT key (#PCDATA)> |
| 49 |
|
| 50 |
<!-- If the message string was localized, the catalog element provides |
| 51 |
the logger's localization resource bundle name. --> |
| 52 |
<!ELEMENT catalog (#PCDATA)> |
| 53 |
|
| 54 |
<!-- If the message string was localized, each of the param elements |
| 55 |
provides the String value (obtained using Object.toString()) |
| 56 |
of the corresponding LogRecord parameter. --> |
| 57 |
<!ELEMENT param (#PCDATA)> |
| 58 |
|
| 59 |
<!-- An exception consists of an optional message string followed |
| 60 |
by a series of StackFrames. Exception elements are used |
| 61 |
for Java exceptions and other java Throwables. --> |
| 62 |
<!ELEMENT exception (message?, frame+)> |
| 63 |
|
| 64 |
<!-- A frame describes one line in a Throwable backtrace. --> |
| 65 |
<!ELEMENT frame (class, method, line?)> |
| 66 |
|
| 67 |
<!-- an integer line number within a class's source file. --> |
| 68 |
<!ELEMENT line (#PCDATA)> |
| 69 |
|