OpenCog Framework
Branch: master, revision 6f0b7fc776b08468cf1b74aa9db028f387b4f0c0
|
Go to the source code of this file.
Namespaces | |
reorder_log | |
Functions | |
def | reorder_log.datetime_from_str |
Variables | |
tuple | reorder_log.parser = argparse.ArgumentParser(description='Reorder chronologically the log.') |
string | reorder_log.help = 'Output file. If unused stdout is used instead' |
tuple | reorder_log.args = parser.parse_args() |
string | reorder_log.timestamp_re = r'\[(\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}:\d{3})\]' |
tuple | reorder_log.timestamp_prog = re.compile(timestamp_re) |
tuple | reorder_log.of = open(args.output, "w") |
dictionary | reorder_log.dt2txt = {} |
int | reorder_log.line_num = 0 |
tuple | reorder_log.m = timestamp_prog.match(l) |
tuple | reorder_log.dt = datetime_from_str(m.group(1)) |
reorder_log.dt_line_num = line_num | |