lib/chambermaid/namespace.rb in chambermaid-0.3.2 vs lib/chambermaid/namespace.rb in chambermaid-0.4.0
- old
+ new
@@ -27,16 +27,18 @@
load_env!
end
def unload!
@env.unload!
+ Chambermaid.logger.info("unloaded #{@env.size} params from ENV")
end
private
# Inject into ENV
def load_env!
@env.replace(@store.params)
@overload ? @env.overload! : @env.load!
+ Chambermaid.logger.info("loaded #{@env.size} params into ENV from `#{@path}`")
end
end
end