#NEWLINE# def main( args ) : #NEWLINE# #INDENT# params = _parse_args ( args ) #NEWLINE# file_dir = params . get ( 'dir' , os . getcwd ( ) ) #NEWLINE# files = _get_files ( file_dir ) #NEWLINE# matchers = _build_str_matchers ( ) #NEWLINE# for f in files : #NEWLINE# #INDENT# _detect_log_lines ( f , matchers ) #NEWLINE# #UNINDENT# _post_process ( file_dir )