def METHOD_NAME(self):
    if self.settings.compiler.cppstd:
        check_min_cppstd(self, 11)
    if self.options.replace_glog and not self.options.enable_streams:
        # https://github.com/emilk/loguru/blob/4adaa185883e3c04da25913579c451d3c32cfac1/docs/index.html#L692
        raise ConanInvalidConfiguration(f"{self.ref}:replace_glog needs {self.ref}:enable_streams=True")