Options
All
  • Public
  • Public/Protected
  • All
Menu

Configuration for FileDataSource.

Hierarchy

  • FileDataSourceOptions

Index

Properties

autoUpdate?: boolean

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.

logger?: object | LDLogger

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: string[]

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

Generated using TypeDoc