This change allows to take an existing Logger and convert it into slog.Handler. New ToSlogHandler function will check if the Logger implementation is a known one (Zap or Logr) and will convert it with package-specific functions.
This change allows to take an existing Logger and convert it into slog.Handler. New ToSlogHandler function will check if the Logger implementation is a known one (Zap or Logr) and will convert it with package-specific functions.