lib/ocean_package/logger.rb in ocean_package-0.7.0 vs lib/ocean_package/logger.rb in ocean_package-0.9.0
- old
+ new
@@ -15,8 +15,14 @@
# 分割线
def Log.divider
logger = Logger.new(STDOUT)
logger.info("=========")
end
+
+ # 换行
+ def Log.new_line
+ logger = Logger.new(STDOUT)
+ logger.info("\n")
+ end
end
end