removeListener method

  1. @mustCallSuper
void removeListener(
  1. ILogRecorder listener

The removeListener method is used to remove an ILogRecorder listener from this LogManager instance.

It takes an ILogRecorder object as a parameter and removes it from the list of listeners.

Additionally, it calls the close method of the listener to perform any necessary cleanup or finalization tasks associated with the listener.

The @mustCallSuper annotation indicates that subclasses should invoke this method when overriding it.


void removeListener(ILogRecorder listener) {