Log v0.4.0 Log.ModuleAlias View Source

Provide functions to replace namespaces from module names

Link to this section Summary

Link to this section Types

Link to this type

sorted()

View Source
sorted() :: [{module(), String.t()}]
Link to this type

t()

View Source
t() :: %{optional(module()) => String.t()}

Link to this section Functions

Link to this function

module_name(module)

View Source
module_name(module :: module() | String.t()) :: String.t()
Link to this function

replace(module, aliases)

View Source
replace(module :: module(), aliases :: t()) :: String.t()
Link to this function

sort(aliases)

View Source
sort(aliases :: t()) :: sorted()