Sha256: f0adf697287ebff640df6a5e0da1ab97370efd20e9ae17c8dc37543072d1c7e7
Contents?: true
Size: 301 Bytes
Versions: 19
Compression:
Stored size: 301 Bytes
Contents
module Honeydew module DeviceLogFormatter Logger::Severity.constants.each do |severity| severity_sym = severity.to_s.downcase.to_sym define_method severity_sym do |message| Honeydew.config.logger.send(severity_sym, "Device #{serial}: #{message}") end end end end
Version data entries
19 entries across 19 versions & 1 rubygems