View Source Tio.Format (Tío v1.0.0)
Formatting functions used by the functions in the Tio module.
Link to this section Summary
Link to this section Types
Specs
message_type() :: :action | :error | :info | :quoted | :step
Link to this section Functions
Specs
format(message_type :: message_type(), iodata :: iodata()) :: iodata()
Formats iodata
as a message_type
Specs
puts(message_type :: message_type(), iodata :: iodata()) :: :ok
Formats iodata
as a message_type
via format/2
and prints it to stdout