Log v0.7.1 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 Source
Link to this function

level(level)

View Source
level(level :: Log.Level.t()) :: String.t()
Link to this function

message(message)

View Source
message(message :: Log.Message.t()) :: String.t()
Link to this function

module(module, aliases)

View Source
module(module :: module() | String.t(), aliases :: Log.ModuleAlias.t()) ::
  String.t()
Link to this function

timestamp(date, utc?)

View Source
timestamp(date :: NaiveDateTime.t(), utc? :: boolean()) :: String.t()