Home
last modified time | relevance | path

Searched hist:296579 (Results 1 – 2 of 2) sorted by relevance

/openbmc/bmcweb/include/
H A Dopenbmc_dbus_rest.hpp296579be Mon Mar 11 18:58:24 CDT 2024 Ed Tanous <ed@tanous.net> Call dump() less

nlohmann::json::dump() is not an easy function to get the call
parameters correct on. We should limit the places we use it.

Luckily, both logging and redfish::messages support printing
json values directly. Use them where appropriate.

Tested: Error logging and out of range calls only of heavily used
messages and logging calls. Inspection only.

Change-Id: I57521d8791dd95250c93e8e3b2d4a959740ac713
Signed-off-by: Ed Tanous <ed@tanous.net>
/openbmc/bmcweb/redfish-core/lib/
H A Dnetwork_protocol.hpp296579be Mon Mar 11 18:58:24 CDT 2024 Ed Tanous <ed@tanous.net> Call dump() less

nlohmann::json::dump() is not an easy function to get the call
parameters correct on. We should limit the places we use it.

Luckily, both logging and redfish::messages support printing
json values directly. Use them where appropriate.

Tested: Error logging and out of range calls only of heavily used
messages and logging calls. Inspection only.

Change-Id: I57521d8791dd95250c93e8e3b2d4a959740ac713
Signed-off-by: Ed Tanous <ed@tanous.net>