lib/ayadn/logs.rb in ayadn-1.6.0 vs lib/ayadn/logs.rb in ayadn-1.7.0

- old
+ new

@@ -15,24 +15,7 @@ @nr.formatter = proc do |severity, datetime, progname, msg| "#{datetime} (#{Settings.config[:version]}) #{severity} * #{msg}\n" end end - # unused (experiment) - # def self.send_log(from, args, content) - # begin - # log = { - # "platform" => "#{Settings.config[:platform]}", - # "date" => Time.now, - # "version" => "#{Settings.config[:version]}", - # "source" => from, - # "args" => args, - # "content" => content - # } - # Post.new.send_log(log) - # rescue - # @rec.warn("Unable to send log.") - # end - # end - end end