LogCleaner constructor
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);