var (
// G is an alias for GetLogger.//// We may want to define this locally to a package to get package tagged log// messages.
G = GetLogger// L is an alias for the the standard logger. L = logrus.NewEntry(logrus.StandardLogger())
)
WithModule adds the module to the context, appending it with a slash if a
module already exists. A module is just an roughly correlated defined by the
call tree for a given context.
As an example, we might have a "node" module already part of a context. If
this function is called with "tls", the new value of module will be
"node/tls".
Modules represent the call path. If the new module and last module are the
same, a new module entry will not be created. If the new module and old
older module are the same but separated by other modules, the cycle will be
represented by the module path.