Sha256: b65aa29e5eb983c047f0985cb8dc65585af19ab12f4fb1df48bfa52d1f46b998

Contents?: true

Size: 269 Bytes

Versions: 12

Compression:

Stored size: 269 Bytes

Contents

task :log do
	require 'utopia/logger'
	LOGGER = Utopia.logger
end

namespace :log do
	desc "Increase verbosity of logger to info."
	task :info => :log do
		LOGGER.info!
	end

	desc "Increase verbosity of global debug."
	task :debug => :log do
		LOGGER.debug!
	end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
utopia-2.11.1 setup/site/tasks/log.rake
utopia-2.11.0 setup/site/tasks/log.rake
utopia-2.10.0 setup/site/tasks/log.rake
utopia-2.9.5 setup/site/tasks/log.rake
utopia-2.9.3 setup/site/tasks/log.rake
utopia-2.9.2 setup/site/tasks/log.rake
utopia-2.9.1 setup/site/tasks/log.rake
utopia-2.9.0 setup/site/tasks/log.rake
utopia-2.8.2 setup/site/tasks/log.rake
utopia-2.8.1 setup/site/tasks/log.rake
utopia-2.8.0 setup/site/tasks/log.rake
utopia-2.7.0 setup/site/tasks/log.rake