code: def init_logs(args, tool="NanoPlot"):
      
      start_time = dt.fromtimestamp(time()).strftime('%Y%m%d_%H%M')
      logname = os.path.join(args.outdir, args.prefix + tool + "_" + start_time + ".log")
      handlers = [logging.FileHandler(logname)]
      if args.verbose:
          handlers.append(logging.StreamHandler())
      logging.basicConfig(
          format='%(asctime)s %(message)s',
          handlers=handlers,
          level=logging.INFO)
      logging.info('{} {} started with arguments {}'.format(tool, __version__, args))
      logging.info('Python version is: {}'.format(sys.version.replace('\n', ' ')))
      return logname
docs: Initiate log file and log arguments.