Future<bool> unregisterAsDbLogger() async { if (_dbLoggers.remove(this)) { _dbLoggersNames.remove(name); await _cancelDbLogger(); return true; } return false; }