#pragma once #include #include #include namespace phosphor::logging::util { /** * @brief Return a value found in the /etc/os-release file * * @param[in] key - The key name, like "VERSION" * * @return std::optional - The value */ std::optional getOSReleaseValue(const std::string& key); } // namespace phosphor::logging::util