lib/tanga_services/logger.rb in tanga_services-0.0.4 vs lib/tanga_services/logger.rb in tanga_services-0.0.5

- old
+ new

@@ -23,9 +23,16 @@ def self.info(hash) log(:info, hash) end + def self.write(message) + log(:info, message: message) + end + class << self + alias :<< :write + end + def self.warn(hash) log(:warn, hash) end def self.error(hash)