(args)
| 171 | |
| 172 | |
| 173 | def main(args): |
| 174 | params = _parse_args(args) |
| 175 | file_dir = params.get("dir", os.getcwd()) |
| 176 | files = _get_files(file_dir) |
| 177 | matchers = _build_str_matchers() |
| 178 | for f in files: |
| 179 | _detect_log_lines(f, matchers) |
| 180 | _post_process(file_dir) |
| 181 | |
| 182 | |
| 183 | if __name__ == "__main__": |
no test coverage detected