slogger v0.2.1 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.
Link to this section Summary
Link to this section Types
Link to this section Functions
Link to this function
get_level(module)
Link to this function
levels()
Link to this function
set_level(module, level)