Aracılığıyla paylaş


Looper.SetMessageLogging(IPrinter) Method

Definition

Control logging of messages as they are processed by this Looper.

[Android.Runtime.Register("setMessageLogging", "(Landroid/util/Printer;)V", "GetSetMessageLogging_Landroid_util_Printer_Handler")]
public virtual void SetMessageLogging (Android.Util.IPrinter? printer);
[<Android.Runtime.Register("setMessageLogging", "(Landroid/util/Printer;)V", "GetSetMessageLogging_Landroid_util_Printer_Handler")>]
abstract member SetMessageLogging : Android.Util.IPrinter -> unit
override this.SetMessageLogging : Android.Util.IPrinter -> unit

Parameters

printer
IPrinter

A Printer object that will receive log messages, or null to disable message logging.

Attributes

Remarks

Control logging of messages as they are processed by this Looper. If enabled, a log message will be written to <var>printer</var> at the beginning and ending of each message dispatch, identifying the target Handler and message contents.

Java documentation for android.os.Looper.setMessageLogging(android.util.Printer).

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