Sha256: c993d6c783fc18807e06abb9e6d374ce2f4227457db738f9514865416736cf5d

Contents?: true

Size: 387 Bytes

Versions: 3

Compression:

Stored size: 387 Bytes

Contents

# frozen_string_literal: true

require "dry/monitor/logger"
require "dry/monitor/notifications"
require "dry/core/extensions"

module Dry
  module Monitor
    extend Dry::Core::Extensions

    register_extension(:rack) do
      require "rack/utils"
      require "dry/monitor/rack/logger"
    end

    register_extension(:sql) do
      require "dry/monitor/sql/logger"
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dry-monitor-0.5.0 lib/dry/monitor.rb
dry-monitor-0.4.0 lib/dry/monitor.rb
dry-monitor-0.3.2 lib/dry/monitor.rb