Attach a slog.Logger to a context
logger := slog.New(slog.NewTextHandler(os.Stderr, nil))
// Attach
ctx := slogx.WithContext(context.Background(), logger)
// Retrieve
log := slogx.Ctx(ctx)
// Attach attributes to logger inside context
ctx = slogx.With(ctx, "key", "value")
log.Info("Hello world")