lib/rsqoot/logger.rb in rsqoot-0.5.2 vs lib/rsqoot/logger.rb in rsqoot-0.5.3
- old
+ new
@@ -1,6 +1,11 @@
module RSqoot
module Logger
+
+ # Add logger support, easy for log monitor when running your app
+ # Output errors and valid records count
+ # TODO add color support
+ #
def logger(options = {records: [], uri: '', error: '', type: '', opts: {}})
records = options[:records].nil? ? [] : options[:records]
error = options[:error]
uri = options[:uri]
type = options[:type]
\ No newline at end of file