qq v0.1.2 Q
Quick and dirty debugging output for Elixir programmers.
Inspired from Similar project for python https://github.com/zestyping/q
The output is not mixed up with other output on the console, instead it goes
to /tmp/q
If TMPDIR or TEMP environment variables are defined, they are used first
(in that order)
else /tmpis used for writing q output file.
Include require Q in the module
Link to this section Summary
Functions
print_msg is internal/private function that just writes to the q file
Use Q.q instead of IO.puts
Link to this section Functions
Link to this function
print_msg(msg)
print_msg is internal/private function that just writes to the q file.
since Q.q is a macro, I couldn’t define print_msg as defp.
if you want the module name in the q file output, use Q.q instead, which is the recommended option anyway.
Use Q.q instead of IO.puts