PI (ex_pi v1.0.2)
How to use:
defmodule MyModule do use PI
def func(arg) do
arg
|> pi()
|> process_arg()
end end
Link to this section Summary
Functions
Gorgeous post_inspect function, with colorful formatting and calling point printing If no label was given, inspected variable name is used as label.
Link to this section Functions
Link to this function
default_options()
Link to this function
do_pi(object, label, caller, options \\ [])
Link to this function
format_log(level, message, timestamp, md)
Gorgeous post_inspect function, with colorful formatting and calling point printing If no label was given, inspected variable name is used as label.
object
— the value to inspect
label
— optional label, if nil
, variable name or expression will be used as label
options
— options of IO.inspect/2
, like limit: :infinity
Link to this function
timestamp()
Link to this function