Udostępnij za pośrednictwem


IFilter.IsLoggable(LogRecord) Method

Definition

Check if a given log record should be published.

[Android.Runtime.Register("isLoggable", "(Ljava/util/logging/LogRecord;)Z", "GetIsLoggable_Ljava_util_logging_LogRecord_Handler:Java.Util.Logging.IFilterInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool IsLoggable (Java.Util.Logging.LogRecord? record);
[<Android.Runtime.Register("isLoggable", "(Ljava/util/logging/LogRecord;)Z", "GetIsLoggable_Ljava_util_logging_LogRecord_Handler:Java.Util.Logging.IFilterInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member IsLoggable : Java.Util.Logging.LogRecord -> bool

Parameters

record
LogRecord

a LogRecord

Returns

true if the log record should be published.

Attributes

Remarks

Check if a given log record should be published.

Java documentation for java.util.logging.Filter.isLoggable(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