Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 435 Bytes

README.md

File metadata and controls

28 lines (22 loc) · 435 Bytes

Ria.Logger

Ria.Logger - simple logger like IO.inspect that can show module, function and line

  alias Ria.Logger
  # ...
  %{
    x: 1,
    y: 2,
  }
  |> Logger.inspect(__ENV__)
  # 2017-11-15 12:45:05 - MyModule:my_function:18 - %{x: 1, y: 2}

Installation

def deps do
  [{:ria_logger, git: "https://github.com/ria-com/elixir-logger.git"}]
end

Testing

[elixir-logger]# mix test