clearListeners method
void
clearListeners()
Implementation
void clearListeners() {
if (hierarchicalLoggingEnabled || parent == null) {
_controller?.close();
_controller = null;
} else {
root.clearListeners();
}
}