Package com.ibm.wsspi.logging
Interface LogRecordExt
public interface LogRecordExt
An extension to java.util.logging.LogRecord.
This interface is implemented by LogRecords cut from the WLP logging code.
-
Method Summary
Modifier and TypeMethodDescriptiongetFormattedMessage
(Locale locale) Retrieve the formatted message for this LogRecord from the given Locale, using the resource bundle, message, and parameters associated with this LogRecord.
-
Method Details
-
getFormattedMessage
Retrieve the formatted message for this LogRecord from the given Locale, using the resource bundle, message, and parameters associated with this LogRecord. Note: this method assumes the LogRecord message (as returned by getMessage()) is a key that references a message in the resource bundle.- Parameters:
locale
- The desired Locale.- Returns:
- The formatted message for this LogRecord in the given Locale.
-