lib/cellular/backends/log.rb in cellular-1.3.0 vs lib/cellular/backends/log.rb in cellular-2.0.0
- old
+ new
@@ -1,13 +1,9 @@
module Cellular
module Backends
- class Log
+ class Log < Backend
def self.deliver(options = {})
- $stdout.puts options[:message]
- end
-
- def self.receive(data)
- raise NotImplementedError
+ Cellular.config.logger.info options[:message]
end
end
end
end