Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-1995

Print help for the global log property

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.4.0
    • Affects Version/s: None
    • Component/s: Help, Logging
    • None
    • 3
    • Iteration U (Jan 27 - Feb 10), Iteration Venus
    • Needed
    • Hide

      Do we show somewhere in the documentation the top-level help commands? If not, then documentation changes are not needed. If we do, we now show the `log` command help.

      Show
      Do we show somewhere in the documentation the top-level help commands? If not, then documentation changes are not needed. If we do, we now show the `log` command help.
    • Developer Tools

      Users should be able to see help for the `log.info()`, `log.warn()`, etc methods.

      Currently, the `shellApiClassDefault` decorator provides help info (@mongosh/i18n) only for ShellApi methods. We should change the `shellApiClassGeneric` method so it also supports properties like `log`.

       

            Assignee:
            alena.khineika@mongodb.com Alena Khineika
            Reporter:
            alena.khineika@mongodb.com Alena Khineika
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: