# -*- encoding: utf-8 -*- # stub: contextualized_logs 0.0.4.pre.demo ruby lib Gem::Specification.new do |s| s.name = "contextualized_logs".freeze s.version = "0.0.4.pre.demo".freeze s.required_rubygems_version = Gem::Requirement.new("> 1.3.1".freeze) if s.respond_to? :required_rubygems_version= s.require_paths = ["lib".freeze] s.authors = ["Hugues Bernet-Rollande".freeze] s.date = "2020-04-26" s.description = "Online logging solution (like [Datadog](https://www.datadoghq.com)) have drastically transform the way we log.\n\nAn app will nowdays logs dozen (hundred) of logs per requests.\n\nThe issue is often to correlate this logs, with the initiating request (or job) and add shared metadata on this logs.\n\nHere come `ContextualizedLogs`.\n\nThe main idea is to enhance your logs from your controller (including `ContextualizedController`, which use a before action), which will add the params to your logs (and some metadata about the request itself, like `request.uuid`).\n\nThis metadata are stored in a `ActiveSupport::CurrentAttributes` which is a singleton (reset per request).\n\nEach subsequent logs in this thread (request) will also be enriched with this metadata, making it easier to find all the logs associated with a request (`uuid`, `ip`, `params.xxx`).\n\nOn top of this, logs can also be enriched by the ActiveRecord model they use (`create` or `find`) (models including `ContextualizedModel`). So any time a contextualized model is created or find, some metadata related to the model (`id`, ...) will also be added to the logs.\n\nAllowing you to find all logs which \"touched\" this models.\n".freeze s.email = ["hugues@xdev.fr".freeze] s.files = ["MIT-LICENSE".freeze, "README.md".freeze, "Rakefile".freeze, "app/assets/config/manifest.js".freeze, "app/assets/javascripts/application.js".freeze, "app/assets/javascripts/cable.js".freeze, "app/assets/stylesheets/application.css".freeze, "app/channels/application_cable/channel.rb".freeze, "app/channels/application_cable/connection.rb".freeze, "app/controllers/application_controller.rb".freeze, "app/controllers/concerns/datadog_set_trace_details.rb".freeze, "app/controllers/custom_context_controller.rb".freeze, "app/controllers/model_controller.rb".freeze, "app/helpers/application_helper.rb".freeze, "app/jobs/application_job.rb".freeze, "app/mailers/application_mailer.rb".freeze, "app/models/application_record.rb".freeze, "app/models/model.rb".freeze, "app/views/layouts/application.html.erb".freeze, "app/views/layouts/mailer.html.erb".freeze, "app/views/layouts/mailer.text.erb".freeze, "app/workers/model_worker.rb".freeze, "config/application.rb".freeze, "config/boot.rb".freeze, "config/cable.yml".freeze, "config/credentials.yml.enc".freeze, "config/database.yml".freeze, "config/environment.rb".freeze, "config/environments/development.rb".freeze, "config/environments/production.rb".freeze, "config/environments/test.rb".freeze, "config/initializers/application_controller_renderer.rb".freeze, "config/initializers/assets.rb".freeze, "config/initializers/backtrace_silencers.rb".freeze, "config/initializers/content_security_policy.rb".freeze, "config/initializers/contextualized_logs.rb".freeze, "config/initializers/cookies_serializer.rb".freeze, "config/initializers/datadog.rb".freeze, "config/initializers/filter_parameter_logging.rb".freeze, "config/initializers/inflections.rb".freeze, "config/initializers/lograge.rb".freeze, "config/initializers/mime_types.rb".freeze, "config/initializers/sidekiq.rb".freeze, "config/initializers/wrap_parameters.rb".freeze, "config/locales/en.yml".freeze, "config/master.key".freeze, "config/puma.rb".freeze, "config/routes.rb".freeze, "config/spring.rb".freeze, "config/storage.yml".freeze, "db/development.sqlite3".freeze, "db/migrate/20200424081113_create_model.rb".freeze, "db/schema.rb".freeze, "db/seeds.rb".freeze, "db/test.sqlite3".freeze, "lib/contextualized_logs.rb".freeze, "lib/contextualized_logs/config.rb".freeze, "lib/contextualized_logs/contextualized_controller.rb".freeze, "lib/contextualized_logs/contextualized_logger.rb".freeze, "lib/contextualized_logs/contextualized_model.rb".freeze, "lib/contextualized_logs/contextualized_worker.rb".freeze, "lib/contextualized_logs/current_context.rb".freeze, "lib/contextualized_logs/railtie.rb".freeze, "lib/contextualized_logs/sidekiq/middleware/client/inject_current_context.rb".freeze, "lib/contextualized_logs/sidekiq/middleware/server/restore_current_context.rb".freeze, "lib/contextualized_logs/version.rb".freeze, "lib/tasks/contextualized_logs_tasks.rake".freeze] s.homepage = "https://github.com/hugues/contextualized_logs".freeze s.licenses = ["MIT".freeze] s.rubygems_version = "3.5.10".freeze s.summary = "Contextualize your logs (requests params, found/created model metadata, workers, ...)".freeze end