Skip to content

purerl/purescript-erl-lager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

purescript-erl-lager

A simplistic wrapper for the lager Erlang/OTP logging framework. Use purescript-console if you just want plain console logging, or consider the Erlang/OTP 21 logger.

Log a message via lager by supplying a format string and some showable arguments:

Lager.debug2 "I have a tuple ~p and record ~p!" (Tuple 2 3) { thingy: "42" }

Known issues

There is no attempt to verify the format string, or support typed numeric etc. arguments.