Use getAbbreviatedFrameDump() instead of getAbbreviatedMessage() when logging
The more information the better, when tracking problems.
This commit is contained in:
parent
dde653f920
commit
ffbc9baccc
1 changed files with 2 additions and 2 deletions
|
@ -131,11 +131,11 @@ public:
|
|||
if (result != length)
|
||||
{
|
||||
LOG_ERR("Sent incomplete message, expected " << length << " bytes but sent " << result <<
|
||||
" while sending: " << LOOLProtocol::getAbbreviatedMessage(buffer, length));
|
||||
" while sending: " << LOOLProtocol::getAbbreviatedFrameDump(buffer, length, flags));
|
||||
}
|
||||
else
|
||||
{
|
||||
LOG_TRC("Sent frame: " << LOOLProtocol::getAbbreviatedMessage(buffer, length));
|
||||
LOG_TRC("Sent frame: " << LOOLProtocol::getAbbreviatedFrameDump(buffer, length, flags));
|
||||
}
|
||||
|
||||
return result;
|
||||
|
|
Loading…
Reference in a new issue