Logger.Parent 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.
Return the parent for this Logger. -or- Set the parent for this Logger.
public virtual Java.Util.Logging.Logger? Parent { [Android.Runtime.Register("getParent", "()Ljava/util/logging/Logger;", "GetGetParentHandler")] get; [Android.Runtime.Register("setParent", "(Ljava/util/logging/Logger;)V", "GetSetParent_Ljava_util_logging_Logger_Handler")] set; }
[<get: Android.Runtime.Register("getParent", "()Ljava/util/logging/Logger;", "GetGetParentHandler")>]
[<set: Android.Runtime.Register("setParent", "(Ljava/util/logging/Logger;)V", "GetSetParent_Ljava_util_logging_Logger_Handler")>]
member this.Parent : Java.Util.Logging.Logger with get, set
Property Value
nearest existing parent Logger
- Attributes
Remarks
Property getter documentation:
Return the parent for this Logger.
This method returns the nearest extant parent in the namespace. Thus if a Logger is called "a.b.c.d", and a Logger called "a.b" has been created but no logger "a.b.c" exists, then a call of getParent on the Logger "a.b.c.d" will return the Logger "a.b".
The result will be null if it is called on the root Logger in the namespace.
Java documentation for java.util.logging.Logger.getParent()
.
Property setter documentation:
Set the parent for this Logger. This method is used by the LogManager to update a Logger when the namespace changes.
It should not be called from application code.
Java documentation for java.util.logging.Logger.setParent(java.util.logging.Logger)
.
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.