remove phosphor-logging dependency
This commit removes pldm's dependency on phosphor-logging
and instead uses stdout and stdcerr for logging purpose.This is to
break the build time circular dependency between pldm and
phosphor-logging.
Change-Id: I8cffa3c99eb34efad5f186b3452a86ebadec2074
Signed-off-by: Sampa Misra <sampmisr@in.ibm.com>
diff --git a/test/libpldmresponder_platform_test.cpp b/test/libpldmresponder_platform_test.cpp
index 88a6eb4..208edc3 100644
--- a/test/libpldmresponder_platform_test.cpp
+++ b/test/libpldmresponder_platform_test.cpp
@@ -160,13 +160,13 @@
sizeof(uint16_t);
pldm_pdr_hdr* hdr = reinterpret_cast<pldm_pdr_hdr*>(start);
uint32_t intType = hdr->type;
- std::cerr << "PDR next record handle " << handle << std::endl;
- std::cerr << "PDR type " << intType << std::endl;
+ std::cerr << "PDR next record handle " << handle << "\n";
+ std::cerr << "PDR type " << intType << "\n";
if (hdr->type == PLDM_STATE_EFFECTER_PDR)
{
pldm_state_effecter_pdr* pdr =
reinterpret_cast<pldm_state_effecter_pdr*>(start);
- std::cerr << "PDR entity type " << pdr->entity_type << std::endl;
+ std::cerr << "PDR entity type " << pdr->entity_type << "\n";
if (pdr->entity_type == 100)
{
found = true;