Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-4849

Add Typescript support for mongodbLogPath in client options

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 6.3.0
    • Affects Version/s: None
    • Component/s: TypeScript
    • 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

            Assignee:
            aditi.khare@mongodb.com Aditi Khare
            Reporter:
            andy.mina@mongodb.com Andy Mina
            Durran Jordan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: