def METHOD_NAME(net_connect_slog_wr):
    """Verify logging DEBUG output does not contain password or secret."""
    nc = net_connect_slog_wr
    # setup logger to output to file
    file_name = "SLOG/netmiko.log"
    netmikologger = logging.getLogger("netmiko")
    netmikologger.setLevel(logging.DEBUG)
    file_handler = logging.FileHandler(file_name)
    file_handler.setLevel(logging.DEBUG)
    netmikologger.addHandler(file_handler)
    # cleanup the log file
    with open(file_name, "w") as f:
        f.write("")
    # run sequence
    nc.enable()
    time.sleep(1)
    nc.clear_buffer()
    nc.disconnect()
    with open(file_name, "r") as f:
        netmiko_log = f.read()
    if nc.password:
        assert nc.password not in netmiko_log
    if nc.secret:
        assert nc.secret not in netmiko_log