Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface LogOptions

The options about what will be logged during the function execution

Hierarchy

  • LogOptions

Index

Properties

The log modes. If there is more than a mode, they must be specified in an array.

Possible values:

  • 'base': During exporting, the databases and collections are shown with a spinner.
  • 'command': Logs the mongoexport command
  • 'mongoexport': Logs the mongoexport log
  • 'expectedCollections': Logs the object containing the collections expected to be exported
  • 'actualCollections': Logs the object containing the collections that have actually been exported

Default: ['base']

realtimeLog?: boolean

If the mongoexport log is specified, it will show the actual log generated by mongoexport under the hood. If this option is true, this log will be shown in realtime, during the exporting operation. If it is false, it will be shown in the end of the exporting operation.

Default: false

silent?: boolean

If nothing will be logged.

Default: false

Generated using TypeDoc