Lines Matching refs:args
45 def read_log_file(args): argument
53 if args.hex:
54 if args.rawhex:
56 logdata = dictionary_parser.utils.convert_hex_file_to_bin(args.logfile)
60 with open(args.logfile, "r", encoding="iso-8859-1") as hexfile:
93 logfile = open(args.logfile, "rb")
95 logger.error("ERROR: Cannot open binary log data file: %s, exiting...", args.logfile)
106 args = parse_args()
110 if args.debug:
115 logdata = read_log_file(args)
117 logger.error("ERROR: cannot read log from file: %s, exiting...", args.logfile)
120 parserlib.parser(logdata, args.dbfile, logger)