Add logging macro for elixir example.