lib/cart_logger.rb in cartup-0.1.7.1 vs lib/cart_logger.rb in cartup-1.0.0
- old
+ new
@@ -16,9 +16,13 @@
def log_info string
CartLogger.log.info string
end
+ def log_warn string
+ CartLogger.log.warn string
+ end
+
def log_error string
CartLogger.log.error string.to_s.colorize(:color => :white, :background => :red)
end
end