Log v0.5.0 Log.Format View Source
Provides functions to convert a Log.Message.t()
in text form
Link to this section Summary
Link to this section Functions
Link to this function
color(config, level, text)
View Sourcecolor(Log.Config.t(), Log.Level.t(), String.t()) :: String.t()
Link to this function
message(message)
View Sourcemessage(message :: Log.Message.t()) :: String.t()
Link to this function
module(module, aliases)
View Sourcemodule(module :: module() | String.t(), aliases :: Log.ModuleAlias.t()) :: String.t()
Link to this function
timestamp(date, utc?)
View Sourcetimestamp(date :: NaiveDateTime.t(), utc? :: boolean()) :: String.t()