eiffel-community/eiffel-goer

Pass our logger to MongoDB package

Opened this issue · 0 comments

Description

go.mongodb.org/mongo-driver v1.12.0 (that we'll upgrade to in #69) adds the ability to pass a custom logger to the driver "to more easily record detailed information about connection management and command execution within their application" (release notes). Their logger interface isn't compatible with logrus so we'll have to write an adapter type.

Motivation

Additional logs from the database driver could be useful when debugging problems.

Exemplification

N/A

Benefits

More logs.

Possible Drawbacks

More logs :-)