The logger is set globally, which restricts ability to log differently. Just as APM is set on the client, logging callbacks should be set on some non-global context object.
If there are other globals, they, too, should be eliminated if at all possible.
- is related to
-
CDRIVER-4142 Use separate handshake metadata for clients
- Backlog