다음을 통해 공유


LogRecord.Level Property

Definition

Get the logging message level, for example Level. -or- Set the logging message level, for example Level.

public virtual Java.Util.Logging.Level? Level { [Android.Runtime.Register("getLevel", "()Ljava/util/logging/Level;", "GetGetLevelHandler")] get; [Android.Runtime.Register("setLevel", "(Ljava/util/logging/Level;)V", "GetSetLevel_Ljava_util_logging_Level_Handler")] set; }
[<get: Android.Runtime.Register("getLevel", "()Ljava/util/logging/Level;", "GetGetLevelHandler")>]
[<set: Android.Runtime.Register("setLevel", "(Ljava/util/logging/Level;)V", "GetSetLevel_Ljava_util_logging_Level_Handler")>]
member this.Level : Java.Util.Logging.Level with get, set

Property Value

the logging message level

Attributes

Exceptions

if level is null.

Remarks

Property getter documentation:

Get the logging message level, for example Level.SEVERE.

Java documentation for java.util.logging.LogRecord.getLevel().

Property setter documentation:

Set the logging message level, for example Level.SEVERE.

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