mirror of
https://github.com/EvernodeXRPL/hpcore.git
synced 2026-04-29 15:37:59 +00:00
Replaced Boost log with Plog. (#124)
This commit is contained in:
@@ -57,7 +57,7 @@ namespace comm
|
||||
|
||||
if (poll(pollfds, 1, 20) == -1)
|
||||
{
|
||||
LOG_ERR << errno << ": Session reader poll failed.";
|
||||
LOG_ERROR << errno << ": Session reader poll failed.";
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -231,7 +231,7 @@ namespace comm
|
||||
|
||||
if (writev(write_fd, memsegs, 2) == -1)
|
||||
{
|
||||
LOG_ERR << errno << ": Session " << uniqueid.substr(0, 10) << " send writev failed.";
|
||||
LOG_ERROR << errno << ": Session " << uniqueid.substr(0, 10) << " send writev failed.";
|
||||
return -1;
|
||||
}
|
||||
return 0;
|
||||
@@ -301,7 +301,7 @@ namespace comm
|
||||
reader_thread.join();
|
||||
writer_thread.join();
|
||||
|
||||
LOG_DBG << (session_type == SESSION_TYPE::PEER ? "Peer" : "User") << " session closed: "
|
||||
LOG_DEBUG << (session_type == SESSION_TYPE::PEER ? "Peer" : "User") << " session closed: "
|
||||
<< uniqueid.substr(0, 10) << (is_inbound ? "[in]" : "[out]") << (is_self ? "[self]" : "");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user