- Create internal/logger package with Logger wrapper around slog - Logger automatically adds source file, line number, and function name to all log entries - Use golang.org/x/term to properly detect if stdout is a terminal - Replace all slog.Logger usage with logger.Logger throughout the codebase - Remove verbose logging from database GetStats() method - Update all constructors and dependencies to use the new logger |
||
|---|---|---|
| .. | ||
| app_integration_test.go | ||
| app_test.go | ||
| app.go | ||
| cli.go | ||
| dbhandler_batched.go | ||
| dbhandler.go | ||
| handler.go | ||
| peerhandler_batched.go | ||
| peerhandler.go | ||
| routingtablehandler.go | ||