lib/logsformyfamily/logger.rb in logsformyfamily-0.2.3 vs lib/logsformyfamily/logger.rb in logsformyfamily-0.3.0
- old
+ new
@@ -20,12 +20,12 @@
def initialize
@backends = LogsForMyFamily.configuration.backends
@configuration = LogsForMyFamily.configuration.to_h
@request_id = LogsForMyFamily.configuration.request_id
+ filter_level(LogsForMyFamily.configuration.level)
@request_config = {}
@event_id = 0
- @filter_level = 0
@filter_percent = 1.0
@filter_percent_on = nil
@filter_percent_below_level = 0
end