feat(logging): Enhance logging system with colored identifiers and error handling

- Add colored and right-aligned bot identifiers in logs with consistent column width
- Implement unique color assignment for each bot instance (falls back to hash-based when colors exhausted)
- Add padding system to maintain uniform column alignment across all bot instances
- Redirect asif library logs to ERROR.log file
- Add ERROR.log to .gitignore
- Improve log formatting with timestamps and bot identifiers
- Implement dynamic column width adjustment when new bots join
This commit is contained in:
2025-02-23 09:02:46 -08:00
parent 8651cc77ad
commit 4a3a82826d
2 changed files with 155 additions and 23 deletions

1
.gitignore vendored
View File

@@ -34,6 +34,7 @@ config*.yaml
# Logs
*.log
logs/
ERROR.log
# Unit test / coverage reports
htmlcov/