Log.Reset.ConfigPaths (Log Reset v0.1.36) View Source

Resets configured log files.

Link to this section Summary

Functions

Returns a list of configured log paths.

Returns a map of configured log paths.

Resets the configured log files of the given levels.

Link to this section Types

Specs

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

Link to this section Functions

Specs

log_paths(t()) :: [Path.t()]

Returns a list of configured log paths.

Specs

new() :: t()

Returns a map of configured log paths.

Link to this function

reset_logs(config_paths, levels)

View Source

Specs

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

Resets the configured log files of the given levels.