Home

xmn / bettertrumpet

publicxammen/BetterTrumpet· sync paused
Overview Code History Branches Pull requestsIssuesInsights
master
HomeOverview Code PRsIssues

feat(v3): structured file logging with rotation (5 files x 5MB)

6 months ago

7335c79
Authored
xammen3/16/2026, 3:19:37 PM
- New FileTraceListener: writes structured logs to disk
- Format: [timestamp] [LEVEL] [thread] message
- Auto-rotation: 5 files max, 5MB each, 25MB total cap
- Portable mode: logs in ./config/logs/
- Normal mode: logs in %APPDATA%/BetterTrumpet/logs/
- Logs startup info: version, OS, .NET, portable mode
- Wired into ErrorReporter alongside existing in-memory buffer

Parent39c6750

3 files changed
  • EarTrumpet/Diagnosis/ErrorReporter.cs+38−1
  • EarTrumpet/Diagnosis/FileTraceListener.cs+160−0
  • EarTrumpet/EarTrumpet.csproj+1−0