lib/legion/logging.rb in legion-logging-1.1.3 vs lib/legion/logging.rb in legion-logging-1.1.4
- old
+ new
@@ -12,12 +12,12 @@
include Legion::Logging::Methods
include Legion::Logging::Builder
attr_reader :color
def setup(level: 'info', **options)
- output(options)
+ output(**options)
log_level(level)
- log_format(options)
+ log_format(**options)
@color = options[:color]
@color = true if options[:color].nil? && options[:log_file].nil?
end
end
end