Logger.IsLoggable(Level) Method

Definition

Check if a message of the given level would actually be logged by this logger.

[Android.Runtime.Register("isLoggable", "(Ljava/util/logging/Level;)Z", "GetIsLoggable_Ljava_util_logging_Level_Handler")]
public virtual bool IsLoggable (Java.Util.Logging.Level level);
[<Android.Runtime.Register("isLoggable", "(Ljava/util/logging/Level;)Z", "GetIsLoggable_Ljava_util_logging_Level_Handler")>]
abstract member IsLoggable : Java.Util.Logging.Level -> bool
override this.IsLoggable : Java.Util.Logging.Level -> bool

Parameters

level
Level

a message logging level

Returns

Boolean

true if the given message level is currently being logged.

Attributes

Remarks

Java documentation for java.util.logging.Logger.isLoggable(java.util.logging.Level).

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