Java.Util.Logging.LogManager.AddLogger Method
Add a given logger into the hierarchical namespace.

Syntax

[Android.Runtime.Register("addLogger", "(Ljava/util/logging/Logger;)Z", "GetAddLogger_Ljava_util_logging_Logger_Handler")]
public virtual bool AddLogger (Logger logger)

Parameters

logger
the logger to be added.

Returns

Documentation for this section has not yet been entered.

Remarks

Add a given logger into the hierarchical namespace. The Logger.addLogger() factory methods call this method to add newly created Logger. This returns false if a logger with the given name has existed in the namespace

Note that the LogManager may only retain weak references to registered loggers. In order to prevent Logger objects from being unexpectedly garbage collected it is necessary for applications to maintain references to them.

[Android Documentation]

Requirements

Namespace: Java.Util.Logging
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1