Java.Util.Logging.Formatter.FormatMessage Method
Formats a LogRecord object into a localized string representation.

Syntax

[Android.Runtime.Register("formatMessage", "(Ljava/util/logging/LogRecord;)Ljava/lang/String;", "GetFormatMessage_Ljava_util_logging_LogRecord_Handler")]
public virtual string FormatMessage (LogRecord r)

Parameters

r
the log record to be formatted.

Returns

Documentation for this section has not yet been entered.

Remarks

Formats a LogRecord object into a localized string representation. This is a convenience method for subclasses of Formatter.

The message string is firstly localized using the ResourceBundle object associated with the supplied LogRecord.

Notice : if message contains "{0", then java.text.MessageFormat is used. Otherwise no formatting is performed.

[Android Documentation]

Requirements

Namespace: Java.Util.Logging
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1