Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface FileDataSourceOptions

Configuration for FileDataSource.

Hierarchy

  • FileDataSourceOptions

Index

Properties

Properties

Optional autoUpdate

autoUpdate: undefined | false | true

True if FileDataSource should reload flags whenever one of the data files is modified. This feature uses Node's fs.watch() API, so it is subject to the limitations described here.

Optional logger

logger: LDLogger | object

Configures a logger for warnings and errors. This can be a custom logger or an instance of winston.Logger. By default, it uses the same logger as the rest of the SDK.

paths

paths: Array<string>

The path(s) of the file(s) that FileDataSource will read.

Generated using TypeDoc