Some logging improvements.

This commit is contained in:
JoelKatz
2012-06-18 23:06:40 -07:00
parent f6f64aac75
commit 12076bcb59
2 changed files with 32 additions and 31 deletions

View File

@@ -60,7 +60,7 @@ void Peer::handle_write(const boost::system::error_code& error, size_t bytes_tra
void Peer::detach(const char *rsn)
{
#ifdef DEBUG
std::cerr << "DETACHING PEER: " << rsn << std::endl;
Log(lsTRACE) << "DETACHING PEER: " << rsn;
#endif
boost::system::error_code ecCancel;