Contains filter implementations for selective logging based on various criteria.