code: def get_parsing_plan_log_str(obj_on_fs_to_parse, desired_type, log_only_last: bool, parser):
      
      loc = obj_on_fs_to_parse.get_pretty_location(blank_parent_part=(log_only_last
                                                                      and not GLOBAL_CONFIG.full_paths_in_logs),
                                                   compact_file_ext=True)
      return '{loc} -> {type} ------- using {parser}'.format(loc=loc, type=get_pretty_type_str(desired_type),
                                                             parser=str(parser))
docs: Utility method used by several classes to log a message indicating that a given file object is planned to be parsed
      to the given object type with the given parser. It is in particular used in str(ParsingPlan), but not only.
  
      :param obj_on_fs_to_parse:
      :param desired_type:
      :param log_only_last: a flag to only log the last part of the file path (default False). Note that this can be
      overriden by a global configuration 'full_paths_in_logs'
      :param parser:
      :return: