lib/cart_logger.rb in cartup-0.1.6 vs lib/cart_logger.rb in cartup-0.1.7
- old
+ new
@@ -12,14 +12,14 @@
@logger.datetime_format = '%Y-%m-%d %H:%M:%S '
end
@logger
end
- def logInfo string
+ def log_info string
CartLogger.log.info string
end
- def logError string
+ def log_error string
CartLogger.log.error string.to_s.colorize(:color => :white, :background => :red)
end
end
end