def METHOD_NAME(self):
    if self.settings.compiler.get_safe("cppstd"):
        check_min_cppstd(self, self._min_cppstd)
    if self.options.with_log4cplus and self.options.with_wchar:
        raise ConanInvalidConfiguration(
            f"{self.ref} can not be built with both log4cplus and wchar, see"
            " https://github.com/sgieseking/anyrpc/issues/25"
        )