removeListener method
Stops calling listener, added with addListener; does nothing when
it is not a listener. A listener removed while a record is passed to
the listeners still gets that record.
Implementation
void removeListener(void Function(LogRecord record) listener) =>
_listeners.remove(listener);