def METHOD_NAME(ckt):
    infos = find_unconnected_ports_of_circuit(ckt)
    for info in infos:
        port = info.port
        debug_info = info.debug_info
        _logger.error(WiringLog("{} not driven", port), debug_info=debug_info)
        visitor = _make_unconnected_port_diagnostic_visitor_cls()()
        diagnostics = visitor.visit(port)
        for diagnostic in diagnostics:
            _logger.error(diagnostic.make_wiring_log())