def METHOD_NAME(self):
    # TODO: if compiler doesn't support C++17, boost can be used instead
    if self.settings.compiler.get_safe("cppstd"):
        tools.check_min_cppstd(self, "17")
    minimum_version = self._compilers_minimum_version.get(str(self.settings.compiler), False)
    if not minimum_version:
        self.output.warn("log4cxx requires C++17. Your compiler is unknown. Assuming it supports C++17.")
    elif tools.Version(self.settings.compiler.version) < minimum_version:
        raise ConanInvalidConfiguration("log4cxx requires a compiler that supports at least C++17")