Sha256: d5e947637eef7aa95fef883f505f94d5193778828baabfc96e8abb91aed0c960

Contents?: true

Size: 239 Bytes

Versions: 1

Compression:

Stored size: 239 Bytes

Contents

# frozen_string_literal: true

module Floe
  module Logging
    def self.included(base)
      base.extend(self)
    end

    def logger
      @logger || Floe.logger
    end

    def logger=(logger)
      @logger = logger
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
floe-0.15.1 lib/floe/logging.rb