lib/log.rb in gridium-0.1.21 vs lib/log.rb in gridium-0.2.0

- old
+ new

@@ -84,10 +84,11 @@ def add_device device @@devices ||= [] log.attach(device) @@devices << device + log.add(log.level, "device added: #{File.absolute_path(device)}") end def close @@devices.each { |dev| @@logger.detach(dev) } @@devices.clear @@ -132,10 +133,9 @@ "#{base_msg} X #{msg}\n" else "#{base_msg} X #{msg}\n" end end - logger end # initialize_logger end # class << self end # Log class end \ No newline at end of file