logi_ex

hex.pm versionLicense: MIT

This is a wrapper library of logi.

logi is a logger interface library for Erlang/OTP.

Installation

Add following lines to your mix.exs:

def deps do
  [{:logi_ex, "~> 0.5"}]
end

Next, add this to your application file:

def application do
  [applications: [:logi_ex]]
end

Usage Examples

# Enables macros
iex> require Logi

# Installs a sink
iex> sink = Logi.BuiltIn.Sink.IoDevice.new :foo
iex> Logi.Channel.install_sink sink, :info

# Outputs a log message
iex> Logi.info "hello ~p", [:world]