# `OpenrelikWorkerCommon.Reporting.Priority`
[🔗](https://github.com/hacktobeer/openrelik-worker-common-elixir/blob/v0.1.0/lib/openrelik_worker_common/reporting.ex#L15)

Reporting priority enum to store common values (`IntEnum` equivalent).

Priorities can be anything in the range of 0-100, where 100 is the highest priority.

# `t`

```elixir
@type t() :: integer() | atom()
```

# `critical`

```elixir
@spec critical() :: integer()
```

Returns `80` (`Priority.CRITICAL`).

# `high`

```elixir
@spec high() :: integer()
```

Returns `40` (`Priority.HIGH`).

# `info`

```elixir
@spec info() :: integer()
```

Returns `5` (`Priority.INFO`).

# `low`

```elixir
@spec low() :: integer()
```

Returns `10` (`Priority.LOW`).

# `medium`

```elixir
@spec medium() :: integer()
```

Returns `20` (`Priority.MEDIUM`).

# `value`

```elixir
@spec value(t()) :: integer()
```

Converts a priority atom or integer into its integer value.

---

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