lib/logster/configuration.rb in logster-2.6.3 vs lib/logster/configuration.rb in logster-2.7.0
- old
+ new
@@ -15,11 +15,12 @@
:maximum_message_size_bytes,
:project_directories,
:enable_backtrace_links,
:gems_dir,
:max_env_bytes,
- :max_env_count_per_message
+ :max_env_count_per_message,
+ :maximum_message_length
)
attr_writer :subdirectory
def initialize
@@ -35,9 +36,10 @@
@max_env_bytes = 1000
@max_env_count_per_message = 50
@project_directories = []
@enable_backtrace_links = true
@gems_dir = Gem.dir + "/gems/"
+ @maximum_message_length = 2000
@allow_grouping = false
if defined?(::Rails) && defined?(::Rails.env) && ::Rails.env.production?
@allow_grouping = true