Log.Reset (Log Reset v0.1.26) 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 Types
Specs
levels() :: :all | :none | [Logger.level()]
Link to this section Functions
Specs
clear_logs(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() :: Log.Reset.ConfigPaths.t()
Refreshes the map of configured log paths.