'Logs the message using the flow\'s standard logging.
Args:
format_str: Format string
*args: arguments to the format string
Raises:
RuntimeError: on parent missing logs_collection'

def Log(self, format_str, *args):

    format_str = utils.SmartUnicode(format_str)
    status = format_str
    if args:
        try:
            status = (format_str % args)
        except TypeError:
            logging.error('Tried    to    log    a    format    string    with    the    wrong    number    of    arguments:    %s', format_str)
    logging.info('%s:    %s', self.session_id, status)
    self.SetStatus(utils.SmartUnicode(status))
    log_entry = rdf_flows.FlowLog(client_id=self.runner_args.client_id, urn=self.session_id, flow_name=self.flow_obj.__class__.__name__, log_message=status)
    logs_collection_urn = self._GetLogCollectionURN(self.runner_args.logs_collection_urn)
    grr_collections.LogCollection.StaticAdd(logs_collection_urn, self.token, log_entry)
