BEA Server Server User Manual


 
2 Using Message Catalogs with BEA WebLogic Server
2-8 Internationalization Guide
Other log_message Catalog Elements
The following table describes the child elements of the log_message element.
method
None Required Method signature for logging this message. Two
methods are actually provided: the one specified
here and a similar one with an additional Throwable
argument.
The syntax is the standard Java method signature,
without the qualifiers, semicolon, and extensions.
Argument types can be any Java primitive or class.
Classes must be fully qualified if not in
java.lang. Classes must also conform to
java.text.MessageFormat conventions. In
general, class arguments should have a useful
toString() method.
Arguments can be any valid name, but should
follow the convention of argn where n is 0 thru 9.
There can be no more than ten (10) arguments. For
each
argn there should be at least one
corresponding placeholder in the text elements
described in “Other log_message Catalog
Elements” on page 2-8. Placeholders are of the form
{n}, {n,number} or {n,date}.
loggables False
Optional Indicates whether to generate methods to return
Loggable objects for each message. The syntax is:
loggables="true"
Refer to “Loggable Object Reference for BEA
WebLogic Server” on page C-1
Attribute Default Required/
Optional
Description