Share via


Handler.Publish(LogRecord) Method

Definition

Publish a LogRecord.

[Android.Runtime.Register("publish", "(Ljava/util/logging/LogRecord;)V", "GetPublish_Ljava_util_logging_LogRecord_Handler")]
public abstract void Publish (Java.Util.Logging.LogRecord? record);
[<Android.Runtime.Register("publish", "(Ljava/util/logging/LogRecord;)V", "GetPublish_Ljava_util_logging_LogRecord_Handler")>]
abstract member Publish : Java.Util.Logging.LogRecord -> unit

Parameters

record
LogRecord

description of the log event. A null record is silently ignored and is not published

Attributes

Remarks

Publish a LogRecord.

The logging request was made initially to a Logger object, which initialized the LogRecord and forwarded it here.

The Handler is responsible for formatting the message, when and if necessary. The formatting should include localization.

Java documentation for java.util.logging.Handler.publish(java.util.logging.LogRecord).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to