Log.Reset (Log Reset v0.1.33) View Source
Resets configured log files.
Link to this section Summary
Functions
Returns a map of configured log paths.
Returns a list of configured log paths.
Refreshes the map of configured log paths.
Resets the configured log files of the given levels
.
Link to this section Types
Specs
levels() :: :all | :none | [Logger.level()]
Link to this section Functions
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.
Specs
reset_logs(levels()) :: :ok
Resets the configured log files of the given levels
.