Module: Smartkiosk::Common::Patches

Defined in:
lib/smartkiosk/common/patches.rb

Class Method Summary collapse

Class Method Details

.dante_should_log_with(logger) ⇒ Object



4
5
6
7
8
9
10
# File 'lib/smartkiosk/common/patches.rb', line 4

def self.dante_should_log_with(logger)
  Dante::Runner.class_eval do
    define_method :log do |msg|
      logger.info msg
    end
  end
end