lib/logster/configuration.rb in logster-2.12.2 vs lib/logster/configuration.rb in logster-2.13.0

- old
+ new

@@ -17,19 +17,19 @@ :enable_backtrace_links, :gems_dir, :max_env_bytes, :max_env_count_per_message, :maximum_message_length, - :use_full_hostname + :use_full_hostname, ) attr_writer :subdirectory def initialize # lambda |env,block| @current_context = lambda { |_, &block| block.call } - @environments = [:development, :production] + @environments = %i[development production] @subdirectory = nil @env_expandable_keys = [] @enable_custom_patterns_via_ui = false @rate_limit_error_reporting = true @enable_js_error_reporting = true @@ -48,9 +48,9 @@ @allow_grouping = true end end def subdirectory - @subdirectory || '/logs' + @subdirectory || "/logs" end end end