Log.Reset.ConfigPaths (Log Reset v0.1.29) View Source
Creates and clears configured log files.
Link to this section Summary
Functions
Deletes the configured log files for the given levels.
Creates and clears the configured log files of given levels.
We actually delete each file (faster) instead of clearing it.
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
Specs
clear_logs(t(), Log.Reset.levels()) :: :ok
Deletes the configured log files for the given levels.
Creates and clears the configured log files of given levels.
We actually delete each file (faster) instead of clearing it.
Specs
Returns a list of configured log paths.
Specs
new() :: t()
Returns a map of configured log paths.