Browse files

Adventures in org mode

  • Loading branch information...
1 parent 7bcf044 commit d4b06a048db5efd5a65cd9e1b730ccf765418a8c @Vagabond Vagabond committed Jun 24, 2011
Showing with 8 additions and 0 deletions.
  1. +8 −0
@@ -18,21 +18,29 @@
some other way of including it in erlang's path. You can then add the
following option to the erlang compiler flags
{parse_transform, lager_transform}
Alternately, you can add it to the module you which to compile with logging
-compile([{parse_transform, lager_transform}]).
Once you have built your code with lager, you can then generate log messages
by doing the following:
lager:error("Some message")
lager:warning("Some message with a term: ~p", [Term])
The general form is lager:Severity() where Severity is one of the log levels
mentioned above.

0 comments on commit d4b06a0

Please sign in to comment.