Sha256: 6c05d6e56fc00cb43b2a3644037bd86e50927805ad01c88543444d2b91cda6df
Contents?: true
Size: 1017 Bytes
Versions: 17
Compression:
Stored size: 1017 Bytes
Contents
require "logtail-rails/action_view" 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::ActionView} class # specific configuration. # # @example # config = Logtail::Config.instance # config.integrations.action_view.silence = true def action_view Logtail::Integrations::ActionView end end end end
Version data entries
17 entries across 17 versions & 1 rubygems