module Berkflow
Constants
- VERSION
Public Class Methods
debug?()
click to toggle source
# File lib/berkflow.rb, line 9 def debug? !ENV['DEBUG'].nil? end
setup()
click to toggle source
# File lib/berkflow.rb, line 13 def setup if debug? Ridley.logger.level = Logger::DEBUG Berkshelf.logger.level = Logger::DEBUG else # Disable Celluloid logging to silence erronous warnings and errors. This # will be re-enabled in the future once the cause of false crash reports # on shutdown is identified and fixed. Celluloid.logger = nil Ridley.logger.level = Logger::ERROR Berkshelf.logger.level = Logger::ERROR end end