File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed
Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -38,8 +38,7 @@ def log_exception level= :error, ex
3838
3939 def acceptable? level , msg
4040 Stackify . is_valid? && is_correct_log_level? ( level ) &&
41- is_not_internal_log_message? ( msg ) &&
42- is_appropriate_env?
41+ is_not_internal_log_message? ( msg )
4342 end
4443
4544 def is_not_internal_log_message? msg
@@ -52,10 +51,6 @@ def is_correct_log_level? level
5251 current_level >= config_level
5352 end
5453
55- def is_appropriate_env?
56- Stackify . configuration . env . downcase . to_sym == Stackify ::EnvDetails . instance . auth_info [ 'ConfiguredEnvironmentName' ] . downcase . to_sym
57- end
58-
5954 def log_message_task level , msg , call_trace
6055 Stackify ::ScheduleTask . new ( { limit : 1 } ) do
6156 if %w( error fatal ) . include? ( level )
Original file line number Diff line number Diff line change 11module Stackify
2- VERSION = '1.0.6 '
2+ VERSION = '1.0.7 '
33end
You can’t perform that action at this time.
0 commit comments