@staticmethod
def domain_log(logs):
    """
        list logs:  The list of nameserversets to be pretty printed.
        """
    if 'resData' in logs:
        logs = logs['resData']
    count, total = 0, len(logs['domain'])
    output = '\n%i log entries:\n' % total
    for log in logs['domain']:
        count += 1
        output += (
            """%i of %i - %s status: '%s' price: %.2f invoice: %s date: %s remote address: %s
"""
             % (count, total, log['domain'], log['status'], log['price'],
            log['invoice'], log['date'], log['remoteAddr']))
        output += "           user text: '%s'\n" % log['userText'].replace('\n'
            , '\n           ')
    return output
