Sha256: 1b69ffad333596bb22b09c17d9d91d462bcaeab19674011879adb95e78aa2270

Contents?: true

Size: 660 Bytes

Versions: 18

Compression:

Stored size: 660 Bytes

Contents

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
    end
  end
end

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
logtail-ruby-0.1.3 lib/logtail/config/integrations.rb
logtail-0.1.13 lib/logtail/config/integrations.rb
logtail-0.1.12 lib/logtail/config/integrations.rb
logtail-0.1.11 lib/logtail/config/integrations.rb
logtail-0.1.10 lib/logtail/config/integrations.rb
logtail-0.1.9 lib/logtail/config/integrations.rb
logtail-0.1.8 lib/logtail/config/integrations.rb
logtail-0.1.7 lib/logtail/config/integrations.rb
logtail-0.1.6 lib/logtail/config/integrations.rb
logtail-0.1.5 lib/logtail/config/integrations.rb
logtail-0.1.4 lib/logtail/config/integrations.rb
logtail-0.1.3 lib/logtail/config/integrations.rb
logtail-0.1.2 lib/logtail/config/integrations.rb
logtail-0.1.1 lib/logtail/config/integrations.rb
logtail-0.1.0 lib/logtail/config/integrations.rb
logtail-ruby-0.1.2 lib/logtail/config/integrations.rb
logtail-ruby-0.1.1 lib/logtail/config/integrations.rb
logtail-ruby-0.1.0 lib/logtail/config/integrations.rb