ALL: Fix debug, warning and error usage

Added prefixes, used debug(9).
This commit is contained in:
Alexander Tkachev 2016-07-23 12:52:27 +06:00
parent d57e0c89b5
commit 15c6772ff7
28 changed files with 111 additions and 109 deletions

View file

@ -68,7 +68,7 @@ void CurlJsonRequest::handle() {
uint32 readBytes = _stream->read(_buffer, CURL_JSON_REQUEST_BUFFER_SIZE);
if (readBytes != 0)
if (_contentsStream.write(_buffer, readBytes) != readBytes)
warning("MemoryWriteStreamDynamic was unable to write all the bytes");
warning("CurlJsonRequest: unable to write all the bytes into MemoryWriteStreamDynamic");
if (_stream->eos()) {
char *contents = getPreparedContents();