Update the console to the new logger syntax.

This commit is contained in:
Jeremy Green 2014-01-30 23:26:17 -06:00
parent f0fcebe169
commit b056f4f1d1

View file

@ -32,7 +32,7 @@ module Middleman::Cli
set :environment, opts[:environment].to_sym
end
logger(opts[:debug] ? 0 : 1, opts[:instrumenting] || false)
::Middleman::Logger.singleton(opts[:debug] ? 0 : 1, opts[:instrumenting] || false)
end
# TODO: get file watcher / reload! working in console