Helper function to log disconnects.

Synopsis

Declared in <net.h>

std::string
DisconnectMsg() const;

Return Value

"disconnecting peer=..." and optionally ", peeraddr=..."

Created with MrDocs