Logger.Filter Property

Definition

Get the current filter for this Logger. -or- Set a filter to control output on this Logger.

public virtual Java.Util.Logging.IFilter? Filter { [Android.Runtime.Register("getFilter", "()Ljava/util/logging/Filter;", "GetGetFilterHandler")] get; [Android.Runtime.Register("setFilter", "(Ljava/util/logging/Filter;)V", "GetSetFilter_Ljava_util_logging_Filter_Handler")] set; }
[<get: Android.Runtime.Register("getFilter", "()Ljava/util/logging/Filter;", "GetGetFilterHandler")>]
[<set: Android.Runtime.Register("setFilter", "(Ljava/util/logging/Filter;)V", "GetSetFilter_Ljava_util_logging_Filter_Handler")>]
member this.Filter : Java.Util.Logging.IFilter with get, set

Property Value

a filter object (may be null)

Attributes

Remarks

Property getter documentation:

Get the current filter for this Logger.

Java documentation for java.util.logging.Logger.getFilter().

Property setter documentation:

Set a filter to control output on this Logger.

After passing the initial "level" check, the Logger will call this Filter to check if a log record should really be published.

Java documentation for java.util.logging.Logger.setFilter(java.util.logging.Filter).

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