InstrumentationLogAdapter constructor

InstrumentationLogAdapter(
  1. InstrumentationLogger _instrumentationLogger, {
  2. Set<String>? watchEventExclusionFiles,
})

Initialize a newly created instrumentation service to communicate with the given _instrumentationLogger.

Any file paths in watchEventExclusionFiles will be excluded from the logging of watch events (to prevent feedback loops).

Implementation

InstrumentationLogAdapter(
  this._instrumentationLogger, {
  Set<String>? watchEventExclusionFiles,
}) : _watchEventExclusionFiles = watchEventExclusionFiles;