Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

gmcabrita/tiny_logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TinyLogger

Do not look at this monstrosity (though it might eventually turn into something useful).

Example Usage

defmodule Foo do
  require TinyLogger

  def bar(arg) do
    TinyLogger.with(%{bar_arg: arg}) do
      TinyLogger.info("Ran bar/1")
    end
  end

  def baz(arg) do
    TinyLogger.with(%{baz_arg: arg}) do
      bar(arg)
    end
  end
end
iex(1)> Foo.baz(1)

00:03:22.808 [info]  [bar_arg: 1, baz_arg: 1, msg: "Ran bar/1"]
:ok

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages