Sha256: e67f2ac484ae4c26fc57245e875e0f3dfcdc1d3775f9c2744d7f5e667042df29

Contents?: true

Size: 262 Bytes

Versions: 4

Compression:

Stored size: 262 Bytes

Contents

# frozen_string_literal: true

require "dry/system/provider/source"

module Hanami
  module Providers
    class Logger < Dry::System::Provider::Source
      def start
        register :logger, Hanami.app.configuration.logger_instance
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
hanami-2.0.0.beta3 lib/hanami/providers/logger.rb
hanami-2.0.0.beta2 lib/hanami/providers/logger.rb
hanami-2.0.0.beta1.1 lib/hanami/providers/logger.rb
hanami-2.0.0.beta1 lib/hanami/providers/logger.rb