Returns an event log name for the given identifier.
555444
private String getEventLogName(String name, String id) {
    return String.format("%s-%s", name, id);
  }
651277
def nt_event_log_handler(name, logname, appname, dllname=None,
                         logtype="Application"):
    

    return wrap_log_handler(logging.handlers.NTEventLogHandler(
        appname, dllname=dllname, logtype=logtype))
1169178
public static ServiceName moduleServiceName(ModuleIdentifier identifier) {
        if (!identifier.getName().startsWith(MODULE_PREFIX)) {
            throw ServerLogger.ROOT_LOGGER.missingModulePrefix(identifier, MODULE_PREFIX);
        }
        return MODULE_SERVICE_PREFIX.append(identifier.getName()).append(identifier.getSlot());
    }
401727
public String getEventId() {
    if (Event_Type.featOkTst && ((Event_Type)jcasType).casFeat_eventId == null)
      jcasType.jcas.throwFeatMissing("eventId", "de.unihd.dbs.uima.types.heideltime.Event");
    return jcasType.ll_cas.ll_getStringValue(addr, ((Event_Type)jcasType).casFeatCode_eventId);}
231756
def GetEventTagByIdentifier(self, identifier):
    
    event_tag = self._GetAttributeContainerByIndex(
        self._CONTAINER_TYPE_EVENT_TAG, identifier.row_identifier - 1)
    if event_tag:
      event_identifier = identifiers.SQLTableIdentifier(
          self._CONTAINER_TYPE_EVENT, event_tag.event_row_identifier)
      event_tag.SetEventIdentifier(event_identifier)

      del event_tag.event_row_identifier

    return event_tag
176609
def get_name(self, origin=None):
        """"""

        token = self.get()
        if not token.is_identifier():
            raise dns.exception.SyntaxError('expecting an identifier')
        return dns.name.from_text(token.value, origin)
196232
public String getDictionaryTitle(String identifier) {
        Entry[] dictEntries = dict.getEntries();
        String specRef = getSpecRef(identifier);
        if (specRef == null) {
            logger.error("Cannot determine specification for id: ", identifier);
            return "";
        }

        String title = null;
        for (Entry dictEntry : dictEntries) {
            if (!dictEntry.getClassName().equals("Descriptor")) continue;
            if (dictEntry.getID().equals(specRef.toLowerCase())) {
                title = dictEntry.getLabel();
                break;
            }
        }
        return title;
    }
1225248
def get_event_logs_by_request_id(self, request_id):
        

        # Get all relevant event logs
        unfiltered_logs = self._get_cci_event_logs() + self._get_security_group_event_logs()

        # Grab only those that have the specific request id
        filtered_logs = []

        for unfiltered_log in unfiltered_logs:
            try:
                metadata = json.loads(unfiltered_log['metaData'])
                if 'requestId' in metadata:
                    if metadata['requestId'] == request_id:
                        filtered_logs.append(unfiltered_log)
            except ValueError:
                continue

        return filtered_logs
845076
public String getNamefromId(int id) {
        return (String) sqlService.getFromTable(
            Constants.PROFILE_PROFILE_NAME, Constants.GENERIC_ID,
            id, Constants.DB_TABLE_PROFILE);
    }
148476
def get_logger(name):
    """"""
    logger = logging.getLogger(name)
    logger.setLevel(logging.INFO)

    # File output handler
    file_handler = logging.FileHandler(log_path)
    file_handler.setLevel(logging.INFO)
    formatter = logging.Formatter(
        '%(asctime)s %(name)12s %(levelname)8s %(lineno)s %(message)s',
        datefmt='%m/%d/%Y %I:%M:%S %p')
    file_handler.setFormatter(formatter)

    logger.addHandler(file_handler)
    return logger
1244436
public String getName() {
    APITrace.CallEvent ce;
    String rv;
    ce = new APITrace.CallEvent();

    rv = super.getName();

    ce.logCall(APITrace.CALL_getName,
               rv,
               null);
    return rv;
  }
268118
function _getEventID(element) {
    if (element._xuiEventID) return element._xuiEventID;
    return element._xuiEventID = ++_getEventID.id;
}
763731
def t_IDENTIFIER(t):
  "
  if t.value in keywords:
    t.type = t.value
  return t
1013864
def name(self):
        """"""
        return self.TYPES.get(self._type, self.TYPES[idaapi.o_idpspec0])
26638
public String getName()
  {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) 
      SibTr.entry(tc, "getName");
    String name = null;
    if(_outputHandler!=null)
    {
      name = _outputHandler.getDestinationName();
    }
    else
    {
      name = _anycastInputHandler.getDestName();
    }
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) 
      SibTr.exit(tc, "getName", name);
    return name;  
  }
99854
public static String getEventName(int eventId) {
        switch (eventId) {
            case XMLStreamConstants.START_ELEMENT:
                return "StartElementEvent";
            case XMLStreamConstants.END_ELEMENT:
                return "EndElementEvent";
            case XMLStreamConstants.PROCESSING_INSTRUCTION:
                return "ProcessingInstructionEvent";
            case XMLStreamConstants.CHARACTERS:
                return "CharacterEvent";
            case XMLStreamConstants.COMMENT:
                return "CommentEvent";
            case XMLStreamConstants.START_DOCUMENT:
                return "StartDocumentEvent";
            case XMLStreamConstants.END_DOCUMENT:
                return "EndDocumentEvent";
            case XMLStreamConstants.ENTITY_REFERENCE:
                return "EntityReferenceEvent";
            case XMLStreamConstants.ATTRIBUTE:
                return "AttributeBase";
            case XMLStreamConstants.DTD:
                return "DTDEvent";
            case XMLStreamConstants.CDATA:
                return "CDATA";
        }
        return "UNKNOWN_EVENT_TYPE";
    }
487569
def visit_Name(self, node: AST, dfltChaining: bool = True) -> str:
        """"""
        return node.id