require 'service.rb' require 'ostruct.rb' class LoggerAppcount @log end def info @log.map{|entry| [entry.time,entry.klass.to_s,entry.appname,entry.what] } end end