ILog.IsInfoEnabled Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets whether info logging is enabled by the underlying logger.
public bool IsInfoEnabled { [Android.Runtime.Register("isInfoEnabled", "()Z", "GetIsInfoEnabledHandler:Org.Apache.Commons.Logging.ILogInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")] get; }
[<get: Android.Runtime.Register("isInfoEnabled", "()Z", "GetIsInfoEnabledHandler:Org.Apache.Commons.Logging.ILogInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
member this.IsInfoEnabled : bool
Property Value
true if info logging is enabled; otherwise, false.
- Attributes
Remarks
Read this property before an expensive operation, such as string concatenation, to prepare an Info message only when info logging is enabled.