feat: Update version to 0.2.4, enhance logging capabilities, and improve special info formatting

This commit is contained in:
sHa
2025-12-27 01:31:21 +00:00
parent 44a6a978b8
commit 95cbaee7fa
11 changed files with 179 additions and 78 deletions

View File

@@ -71,6 +71,24 @@ renamer /path/to/media/directory
4. Press **y** to confirm or **n** to cancel
5. The file will be renamed and the tree updated automatically
## Debugging
### Formatter Logging
The application includes detailed logging for formatter operations that can be enabled for debugging purposes.
To enable formatter logging:
```bash
FORMATTER_LOG=1 renamer /path/to/directory
```
This will create a `formatter.log` file in the current directory containing:
- Formatter call sequences and ordering
- Input/output values for each formatter
- Caller information (file and line number)
- Any errors during formatting
Useful for troubleshooting metadata display issues or formatter problems.
## Architecture
The application uses a modular architecture with separate extractors and formatters: