# `Obscura.Logger`
[🔗](https://github.com/hfiguera/obscura/blob/v0.2.0/lib/obscura/logger.ex#L1)

Logger-safe helpers for redacting terms before applications log them.

# `redact_metadata`

```elixir
@spec redact_metadata(
  keyword() | map(),
  keyword()
) :: {:ok, keyword() | map()} | {:error, term()}
```

Redacts Logger metadata while preserving keyword-list or map shape.

# `redact_term`

```elixir
@spec redact_term(
  term(),
  keyword()
) :: {:ok, term()} | {:error, term()}
```

Redacts any term using structured redaction.

# `safe_inspect`

```elixir
@spec safe_inspect(
  term(),
  keyword()
) :: {:ok, String.t()} | {:error, term()}
```

Safely inspects a redacted term.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
