TestDropMask checks if the specified event type has the drop mask in the bitset.
(typ event.Type)
| 186 | // TestDropMask checks if the specified event type has |
| 187 | // the drop mask in the bitset. |
| 188 | func (c *EventSourceConfig) TestDropMask(typ event.Type) bool { |
| 189 | return c.dropMasks.IsSet(typ.ID()) |
| 190 | } |
| 191 | |
| 192 | // ExcludeEvent determines whether the supplied short |
| 193 | // event ID exists in the bitset of excluded events. |