middleman/middleman-core/lib
Adam Luikart d4d1391bbb Don't hang on to the first Logger instance you see
If the main app instance hangs on to the logger that ::Middleman::Logger.singleton returns, then subsequent calls to re-init the logger won't have any effect (for instance, when setting up the preview server's logger based on CLI params).

Redefining logger to be a pass-through to ::Middleman::Logger.singleton instead of an ivar seems more in keeping with the sprit of a singleton, anyways.

This fixes an issue where running `middleman server --verbose` doesn't output any debug info.
2014-04-07 17:34:26 -05:00
..
middleman Implemented Rubocop 2013-12-28 00:47:39 +00:00
middleman-core Don't hang on to the first Logger instance you see 2014-04-07 17:34:26 -05:00
vendored-middleman-deps Merge remote-tracking branch 'origin/v3-stable' 2014-02-22 18:11:37 -08:00
middleman-core.rb Implemented Rubocop 2013-12-28 00:47:39 +00:00