1
0

logger.go 135 B

12345678910
  1. package logger
  2. import (
  3. "log/slog"
  4. )
  5. func NewLogger(c Config) *slog.Logger {
  6. handler := NewHandler(c)
  7. return slog.New(&handler)
  8. }