Log.Reset (Log Reset v0.1.21) View Source
Creates and clears configured log files.
Link to this section Summary
Functions
Clears the configured log files of given levels
.
Returns a map of configured log paths.
Returns a list of configured log paths.
Refreshes the map of configured log paths.
Link to this section Functions
Specs
clear_logs(Log.Reset.ConfigPaths.levels()) :: :ok
Clears the configured log files of given levels
.
Specs
config_paths() :: Log.Reset.ConfigPaths.t()
Returns a map of configured log paths.
Specs
log_paths() :: [Path.t()]
Returns a list of configured log paths.
Specs
refresh() :: :ok
Refreshes the map of configured log paths.