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.