Mining/pkg
snider ddcf39b7ee feat: Add structured logging package
Create pkg/logging with:
- Log levels: Debug, Info, Warn, Error
- Structured fields support (key-value pairs)
- Component-based logging (WithComponent)
- Global logger convenience functions
- ParseLevel for configuration
- Full test coverage

The package provides a migration path from log.Printf to
structured logging without external dependencies.

Example usage:
  logging.Info("miner started", logging.Fields{"name": minerName})
  logger := logging.New(cfg).WithComponent("Manager")
  logger.Warn("connection lost", logging.Fields{"pool": pool})

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 11:18:22 +00:00
..
database test: Add race condition tests and fix AVG float64 scan bug 2025-12-31 11:07:29 +00:00
logging feat: Add structured logging package 2025-12-31 11:18:22 +00:00
mining perf: Optimize collectMinerStats() for parallel execution 2025-12-31 11:16:38 +00:00
node refactor: Remove unused code and fix nil dereference issues 2025-12-31 09:24:12 +00:00