mirror of
https://github.com/LibreOffice/online.git
synced 2025-08-20 23:24:34 +00:00
ut: log timestamp to track timeouts better
And improve the logging support in unit-tests to help troubleshoot issues faster and more accurately. Also makes the code more readable (hopefully). Change-Id: I4f8aafb5245e2f774b03231591a74544f9ec84aa Reviewed-on: https://gerrit.libreoffice.org/48645 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com>
This commit is contained in:

committed by
Ashod Nakashian

parent
31130989ed
commit
7be98efd93
@ -12,6 +12,7 @@
|
||||
|
||||
#include <cstdint>
|
||||
#include <cstring>
|
||||
#include <iomanip>
|
||||
#include <map>
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
@ -320,7 +321,7 @@ namespace LOOLProtocol
|
||||
result << Poco::format("%#x", flags);
|
||||
break;
|
||||
}
|
||||
result << " " << length << " bytes";
|
||||
result << " " << std::setw(3) << length << " bytes";
|
||||
|
||||
if (length > 0 &&
|
||||
((flags & Poco::Net::WebSocket::FRAME_OP_BITMASK) == Poco::Net::WebSocket::FRAME_OP_TEXT ||
|
||||
|
Reference in New Issue
Block a user