# `Log.Reset.LogPaths`
[🔗](https://github.com/RaymondLoranger/log_reset/blob/main/lib/log/reset/log_paths.ex#L1)

A map of configured log paths and functions.

# `t`

```elixir
@type t() :: %{required(:logger.level()) =&gt; Path.t()}
```

A map assigning configured log paths to their log levels

# `new`

```elixir
@spec new() :: t()
```

Creates a map assigning each configured log path to its log level.

# `reset_logs`

```elixir
@spec reset_logs(t(), Log.Reset.levels()) :: :ok
```

Resets the configured log files of the given `levels`.

## Examples

    iex> alias Log.Reset.LogPaths
    iex> LogPaths.reset_logs(%{}, :all) # No handlers configured?
    :ok

    iex> alias Log.Reset.LogPaths
    iex> LogPaths.reset_logs(%{}, [:info, :error]) # No handlers either?
    :ok

---

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