'Parse, filter and print logs to the console.'

def print_logs(self, logs, colorize=True, http=False, non_http=False):

    for log in logs:
        timestamp = log[u'timestamp']
        message = log[u'message']
        if (u'START    RequestId' in message):
            continue
        if (u'REPORT    RequestId' in message):
            continue
        if (u'END    RequestId' in message):
            continue
        if (not colorize):
            if http:
                if self.is_http_log_entry(message.strip()):
                    print (((u'[' + str(timestamp)) + u']    ') + message.strip())
            elif non_http:
                if (not self.is_http_log_entry(message.strip())):
                    print (((u'[' + str(timestamp)) + u']    ') + message.strip())
            else:
                print (((u'[' + str(timestamp)) + u']    ') + message.strip())
        elif http:
            if self.is_http_log_entry(message.strip()):
                click.echo((((click.style(u'[', fg=u'cyan') + click.style(str(timestamp), bold=True)) + click.style(u']', fg=u'cyan')) + self.colorize_log_entry(message.strip())))
        elif non_http:
            if (not self.is_http_log_entry(message.strip())):
                click.echo((((click.style(u'[', fg=u'cyan') + click.style(str(timestamp), bold=True)) + click.style(u']', fg=u'cyan')) + self.colorize_log_entry(message.strip())))
        else:
            click.echo((((click.style(u'[', fg=u'cyan') + click.style(str(timestamp), bold=True)) + click.style(u']', fg=u'cyan')) + self.colorize_log_entry(message.strip())))
