Sha256: 9d6b2f1a80bd96bcfe1befd7ffa6a139282616a96e2f3ea4c028de52f5b1ef83
Contents?: true
Size: 1.02 KB
Versions: 17
Compression:
Stored size: 1.02 KB
Contents
require "logtail-rails/action_controller" module Logtail class Config # Convenience module for accessing the various `Logtail::Integrations::*` classes # through the {Logtail::Config} object. Logtail couples configuration with the class # responsible for implementing it. This provides for a tighter design, but also # requires the user to understand and access the various classes. This module aims # to provide a simple ruby-like configuration interface for internal Logtail classes. # # For example: # # config = Logtail::Config.instance # config.integrations.active_record.silence = true module Integrations extend self # Convenience method for accessing the {Logtail::Integrations::ActionController} class # specific configuration. # # @example # config = Logtail::Config.instance # config.integrations.action_controller.silence = true def action_controller Logtail::Integrations::ActionController end end end end
Version data entries
17 entries across 17 versions & 1 rubygems