Óg
Óg is a small collection of logger helper functions in elixir.
Installation
Add óg to your list of dependencies in mix.exs:
def deps do
[{:og, "~> 0.0.1"}]
Project Features
- log/3 inspects the data passed and then calls functions in the Logger module
- log_return/3 returns the original data in a pipeline of functions.
- context/3 to get the current module, function and line from the caller.
- context_conn/5 to get the current module, function and line where it is called along with some conn struct details.
Example Usage
Licence
MIT