slogger v0.1.3 Slogger

The unquoted expression in the using/1 macro unquote((["Slogger", "Loggers"] ++ Module.split(__CALLER__.module)) |> Module.concat) puts the generated logging module in question into a namespace under Slogger.Loggers. For example if MyModule has use Slogger then the module Slogger.Loggers.MyModule is generated and is the module that has the alias of Slogger in the MyModule namespace.

Summary

Functions

is_gte?(level_a, level_b)
is_module?(thing)

Macros

debug(entry)
define_log_func(handler, level, config_level)
error(entry)
info(entry)
log(entry, level)
warn(entry)