-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: TypeScript
-
3
-
2
-
Not Needed
-
Not Needed
Description
Add log path option to client options interface.
Acceptance Criteria
Implementation Requirements
- Add support for accepting mongodbLogPath as a client option
- Client options interfaces: MongoClientOptions and MongoOptions
- Should support stdout, stderr and MongoLogWritable streams
- Mark this feature as internal so that the option doesn't appear in API docs
- Mark removing internal tag as a TODO for NODE-5671
- Remove ts-expect-error directive in Unified Test Runner
Testing Requirements
- Write unit tests that ensure that tests can receive logs via a string and MongoLogWritable stream