Log.Reset.LogPaths (Log Reset v0.1.44) View Source

A map of configured log paths and functions.

Link to this section Summary

Types

t()

A map assigning configured log paths to their log levels

Functions

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

Resets the configured log files of the given levels.

Link to this section Types

Specs

t() :: %{required(Logger.level()) => Path.t()}

A map assigning configured log paths to their log levels

Link to this section Functions

Specs

new() :: t()

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

Link to this function

reset_logs(log_paths, levels)

View Source

Specs

reset_logs(t(), Log.Reset.levels()) :: :ok

Resets the configured log files of the given levels.