PLDM: Implementing Phosphor-Logging/LG2 logging
This commit migrates std::cerr/cout added as part
of new changes in PLDM to LG2.
Change-Id: I8e85732684d47b6740521e95712433a7c6760d8a
Signed-off-by: Riya Dixit <riyadixitagra@gmail.com>
diff --git a/libpldmresponder/pdr_numeric_effecter.hpp b/libpldmresponder/pdr_numeric_effecter.hpp
index 0347af4..88d7f8a 100644
--- a/libpldmresponder/pdr_numeric_effecter.hpp
+++ b/libpldmresponder/pdr_numeric_effecter.hpp
@@ -78,8 +78,7 @@
// present
if (!pdr->entity_type)
{
- std::cerr << "The entity path for the FRU is not present."
- << std::endl;
+ error("The entity path for the FRU is not present.");
continue;
}
}