human
What is a Python code to print ('not    merging    log    line:    "%s"' % next_log_record given the following:
I wrote the below code

    (start_timestamp, end_timestamp) = _GetTimestamps()
    fd_cache = {}
    log_heap = []
    def _HeapPush(next_log_record, fn, pos):
        'Starting    with    the    contents    of    "next_line",    reads    lines    from    the\n                file    until    the    start    of    the    next    log    record,    which    is    defined    as    a\n                line    starting    with    the    iso    date    regexp.    If    there    are    no    more    bytes\n                in    the    file,    returns    without    pushing.    Otherwise,    pushes    the    log\n                line,    filename    ("fn"),    and    file    object    ("f")    to    the    log    heap    for\n                merging.\n                '
        fd = _GetFD(fn, pos, fd_cache)
        while ((next_log_record != '') and (not _ISO_DATE_RE.search(next_log_record))):
            print ('not    merging    log    line:    "%s"' % next_log_record.rstrip())
            next_log_record = fd.readline()
        next_line = fd.readline()
        while (next_line != ''):
            if (not _ISO_DATE_RE.search(next_line)):
                next_log_record += next_line
            else:
                break
            next_line = fd.readline()
        if (next_log_record == ''):
            fd.close()
            del fd_cache[fn]
            return
        next_log_record = next_log_record.rstrip()
        heapq.heappush(log_heap, (next_log_record, next_line, fn, fd.tell()))
    directives = _InitColorize(output_file)
    re_map = dict()
    merge_re = re.compile(options.options.merge_filter)
    for log_url in log_urls:
        fn = log_url['local_filename']
        if (merge_re.search(fn) is None):
            continue
        try:
            (directive,) = [d for d in directives if d.filename_re.search(fn)]
            re_map[fn] = directive
        except:
            pass
        fd = _GetFD(fn, 0, fd_cache)
        _HeapPush(fd.readline(), fn, fd.tell())
    while (len(log_heap) > 0):
        (lr, nl, fn, pos) =...

What's a good function header?
assistant
#Here is Python code to print ('not    merging    log    line:    "%s"' % next_log_record.

def MergeLogs(log_urls, output_file=sys.stdout):