diff options
| author | Dennis Brentjes <d.brentjes@gmail.com> | 2016-10-01 10:08:30 +0200 |
|---|---|---|
| committer | Dennis Brentjes <d.brentjes@gmail.com> | 2016-10-01 10:08:30 +0200 |
| commit | 74a59a6f1a3e232619a20034edf7a333ad029b03 (patch) | |
| tree | 9d54b2f179a8db6ac37743ff064253308240011b /libcmix-network/client.cpp | |
| parent | 7e30f35cfc42ac3983dfa281d554df9aa9485a99 (diff) | |
| download | cmix-74a59a6f1a3e232619a20034edf7a333ad029b03.tar.gz cmix-74a59a6f1a3e232619a20034edf7a333ad029b03.tar.bz2 cmix-74a59a6f1a3e232619a20034edf7a333ad029b03.zip | |
Removes all tracing log calls.
Diffstat (limited to 'libcmix-network/client.cpp')
| -rw-r--r-- | libcmix-network/client.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libcmix-network/client.cpp b/libcmix-network/client.cpp index d8e79d7..0c3c432 100644 --- a/libcmix-network/client.cpp +++ b/libcmix-network/client.cpp @@ -42,7 +42,6 @@ void Client::send(std::string message) { }; auto handler = [](boost::system::error_code const& ec, std::size_t bytes_transferred) { - BOOST_LOG_TRIVIAL(trace) << "sent message of " << bytes_transferred << " bytes"; if(ec) { BOOST_LOG_TRIVIAL(fatal) << ec; throw std::runtime_error("unable to send message"); @@ -86,14 +85,12 @@ void Client::handle_receive_size(Client::MessageHandler message_handler, const e void Client::handle_receive_message(MessageHandler message_handler, const error_code &ec, size_t read_bytes) { - BOOST_LOG_TRIVIAL(trace) << "handling receive of: " << read_bytes << " bytes"; if(!ec) { buffer.commit(read_bytes); std::istream is(&buffer); is.unsetf(std::ios::skipws); std::vector<uint8_t> data(std::istream_iterator<uint8_t>(is), {}); - BOOST_LOG_TRIVIAL(trace) << "data.size(): " << data.size(); message_handler(data); } else { BOOST_LOG_TRIVIAL(error) << ec; |
