module Rackstash
  module Framework
    module Base
      def setup(config={})
        Rackstash.request_fields = config[:request_fields]
        Rackstash.source = config[:source]
        Rackstash.log_level = config[:log_level] || :info
        Rackstash.tags = config[:tags] || []
      end
    end
  end
end
module Rackstash
  module Framework
    module Base
      def setup(config={})
        Rackstash.request_fields = config[:request_fields]
        Rackstash.fields = config[:fields]
        Rackstash.source = config[:source]
        Rackstash.log_level = config[:log_level] || :info
        Rackstash.tags = config[:tags] || []
      end
    end
  end
end

Apply configuration for additional non-request fields
Apply configuration for additional non-request fields
