Logger.UseParentHandlers Property

Definition

Discover whether or not this logger is sending its output to its parent logger. -or- Specify whether or not this logger should send its output to its parent Logger.

public virtual bool UseParentHandlers { [Android.Runtime.Register("getUseParentHandlers", "()Z", "GetGetUseParentHandlersHandler")] get; [Android.Runtime.Register("setUseParentHandlers", "(Z)V", "GetSetUseParentHandlers_ZHandler")] set; }
[<get: Android.Runtime.Register("getUseParentHandlers", "()Z", "GetGetUseParentHandlersHandler")>]
[<set: Android.Runtime.Register("setUseParentHandlers", "(Z)V", "GetSetUseParentHandlers_ZHandler")>]
member this.UseParentHandlers : bool with get, set

Property Value

true if output is to be sent to the logger's parent

Attributes

Remarks

Property getter documentation:

Discover whether or not this logger is sending its output to its parent logger.

Java documentation for java.util.logging.Logger.getUseParentHandlers().

Property setter documentation:

Specify whether or not this logger should send its output to its parent Logger. This means that any LogRecords will also be written to the parent's Handlers, and potentially to its parent, recursively up the namespace.

Java documentation for java.util.logging.Logger.setUseParentHandlers(boolean).

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