lib/fig/command.rb in fig-1.17.0 vs lib/fig/command.rb in fig-1.18.0
- old
+ new
@@ -37,11 +37,13 @@
if not @options.exit_code.nil?
return @options.exit_code
end
- Fig::Logging.initialize_pre_configuration(@options.log_level())
+ Fig::Logging.initialize_pre_configuration(
+ @options.log_to_stdout(), @options.log_level(),
+ )
actions = @options.actions()
if actions.empty?
return handle_nothing_to_do
end
@@ -187,9 +189,10 @@
set_up_application_configuration()
Fig::Logging.initialize_post_configuration(
@options.log_config() || @application_configuration['log configuration'],
+ @options.log_to_stdout(),
@options.log_level()
)
@parser = Fig::Parser.new(
@application_configuration, check_include_statements_versions?