Files
PSMinIO/Module
PSMinIO Developer 7a251456f0 Enhance verbose logging with file counter and full path
 IMPROVED VERBOSE LOGGING:

� ENHANCED LOG FORMAT:
  • Changed from: 'Compressed: filename -> size'
  • Changed to: 'X of Y - FullPath -> size (reduction%, duration)'
  • Shows current file counter and total file count
  • Displays full file path instead of just filename
  • Provides better context for progress tracking

� IMPLEMENTATION DETAILS:
  • Added FullPath property to ZipFileEventArgs
  • Added _currentFileIndex counter to ZipBuilder
  • Updated ZipArchiveBuilder to pass fileInfo.FullName
  • Enhanced OnFileAdded method with counter and full path logging
  • Maintains all existing compression metrics and timing

� EXAMPLE OUTPUT:
  Before: 'Compressed: file.txt -> 1.2 KB (15.3% reduction, 25ms)'
  After:  '3 of 10 - C:\MyFiles\Documents\file.txt -> 1.2 KB (15.3% reduction, 25ms)'

 BENEFITS:
  • Clear progress indication with file counters
  • Full file path context for better debugging
  • Easy identification of which files are being processed
  • Consistent with collection progress format
  • Enhanced troubleshooting capabilities

Perfect verbose logging for zip operations!
2025-07-14 17:10:31 -04:00
..