#pragma once #include "logging.hpp" #include namespace redfish { namespace dbus_utils { struct UnpackErrorPrinter { void operator()(const sdbusplus::UnpackErrorReason reason, const std::string& property) const noexcept { BMCWEB_LOG_DEBUG << "DBUS property error in property: " << property << ", reason: " << static_cast< std::underlying_type_t>( reason); } }; } // namespace dbus_utils } // namespace redfish