# `OzMcp.LogLevel`
[🔗](https://github.com/oz-elixir/oz_mcp/blob/v0.9.0/lib/oz_mcp/log_level.ex#L1)

The levels of `notifications/message` (RFC 5424 severities), from the
lowest to the highest.

A session receives a message when the level of the message is equal to
or higher than the level that the client set with `logging/setLevel`.

# `t`

```elixir
@type t() ::
  :debug | :info | :notice | :warning | :error | :critical | :alert | :emergency
```

# `is_level`
*macro* 

# `levels`

```elixir
@spec levels() :: [t()]
```

The levels, from the lowest to the highest severity.

# `wanted?`

```elixir
@spec wanted?(term(), term()) :: boolean()
```

True when a session at `session_level` receives a message at `level`.

`false` when the session has no level (`nil`) and when one of the two
values is not a level: a snapshot module can return any value and
the session must not stop because of it.

---

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