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

Creates and clears configured log files.

Link to this section Summary

Functions

Creates and clears the configured log files of given levels.

Returns a list of configured log paths.

Returns a map of configured log paths.

Link to this section Types

Specs

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

Link to this section Functions

Link to this function

clear_logs(config_paths, levels)

View Source

Specs

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

Creates and clears the configured log files of given levels.

Specs

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

Returns a list of configured log paths.

Specs

new() :: t()

Returns a map of configured log paths.