This would make more sense as `log_function=self.err.warning`. If the developer uploads a new add-on which targets TB21, that will provide a warning which makes sense.