LogCleaner constructor

LogCleaner(
  1. String directoryPath,
  2. List<RegExp> logPatterns
)

Constructor for initializing the LogCleaner with a directory path and log patterns.

directoryPath The directory to scan for Dart files. logPatterns A list of regular expressions used to identify log statements.

Implementation

LogCleaner(this.directoryPath, this.logPatterns);