allanbank / mongodb-async-driver

The MongoDB Asynchronous Java Driver.
Apache License 2.0
22 stars 15 forks source link

Add support for logging all messages the driver send/receives. #9

Closed allanbank closed 9 years ago

allanbank commented 9 years ago

The log message should be single lines (for grepping) and include the server, message id, type, and contents. A distinct logger should be used for the send and receive side. The logging should only be done when enabled.