routewatch/internal/database
sneak 67f6b78aaa Add custom logger with source location tracking and remove verbose database logs
- 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
2025-07-28 01:14:51 +02:00
..
database.go Add custom logger with source location tracking and remove verbose database logs 2025-07-28 01:14:51 +02:00
interface.go Add database file size and reorganize status page 2025-07-28 00:27:54 +02:00
models.go Add ASN info lookup and periodic routing table statistics 2025-07-27 23:25:23 +02:00
schema.sql Add ASN info lookup and periodic routing table statistics 2025-07-27 23:25:23 +02:00
slowquery.go Add custom logger with source location tracking and remove verbose database logs 2025-07-28 01:14:51 +02:00
utils.go Initial commit: RouteWatch BGP stream monitor 2025-07-27 21:18:57 +02:00