Lines Matching refs:facility
751 # facility (0-big number). Both the priorities and the facilities map
766 # facility codes
849 facility=LOG_USER, socktype=None):
855 If facility is not specified, LOG_USER is used. If socktype is
864 self.facility = facility
939 def encodePriority(self, facility, priority):
941 Encode the facility and priority. You can pass in strings or
946 if isinstance(facility, str):
947 facility = self.facility_names[facility]
950 return (facility << 3) | priority
995 prio = '<%d>' % self.encodePriority(self.facility,