LogManager.AddPropertyChangeListener(IPropertyChangeListener) Method
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.
Adds an event listener to be invoked when the logging properties are re-read.
[Android.Runtime.Register("addPropertyChangeListener", "(Ljava/beans/PropertyChangeListener;)V", "GetAddPropertyChangeListener_Ljava_beans_PropertyChangeListener_Handler")]
public virtual void AddPropertyChangeListener (Java.Beans.IPropertyChangeListener? l);
[<Android.Runtime.Register("addPropertyChangeListener", "(Ljava/beans/PropertyChangeListener;)V", "GetAddPropertyChangeListener_Ljava_beans_PropertyChangeListener_Handler")>]
abstract member AddPropertyChangeListener : Java.Beans.IPropertyChangeListener -> unit
override this.AddPropertyChangeListener : Java.Beans.IPropertyChangeListener -> unit
Parameters
event listener
- Attributes
Remarks
Adds an event listener to be invoked when the logging properties are re-read. Adding multiple instances of the same event Listener results in multiple entries in the property event listener table.
<b>WARNING:</b> This method is omitted from this class in all subset Profiles of Java SE that do not include the java.beans
package.
This member is deprecated. The dependency on PropertyChangeListener
creates a significant impediment to future modularization of the Java platform. This method will be removed in a future release. The global LogManager
can detect changes to the logging configuration by overridding the #readConfiguration readConfiguration
method.
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.