Sha256: a62b0fae9470641fb73d91c9d1776d67bb7c670b54ee5be62bac2e98d048d9f8

Contents?: true

Size: 287 Bytes

Versions: 24

Compression:

Stored size: 287 Bytes

Contents

# frozen_string_literal: true
module FinApps
  module Utils
    # Adds logging capabilities when included into other classes
    module Loggeable
      def logger
        @logger ||= begin
          require 'logger'
          ::Logger.new(STDOUT)
        end
      end
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
finapps-2.1.4 lib/finapps/utils/loggeable.rb
finapps-2.1.3 lib/finapps/utils/loggeable.rb
finapps-2.1.2 lib/finapps/utils/loggeable.rb
finapps-2.1.1 lib/finapps/utils/loggeable.rb
finapps-2.0.30 lib/finapps/utils/loggeable.rb
finapps-2.0.29 lib/finapps/utils/loggeable.rb
finapps-2.0.28 lib/finapps/utils/loggeable.rb
finapps-2.0.27 lib/finapps/utils/loggeable.rb
finapps-2.0.26 lib/finapps/utils/loggeable.rb
finapps-2.0.25 lib/finapps/utils/loggeable.rb
finapps-2.0.24 lib/finapps/utils/loggeable.rb
finapps-2.0.23 lib/finapps/utils/loggeable.rb
finapps-2.0.22 lib/finapps/utils/loggeable.rb
finapps-2.0.21 lib/finapps/utils/loggeable.rb
finapps-2.0.20 lib/finapps/utils/loggeable.rb
finapps-2.0.19 lib/finapps/utils/loggeable.rb
finapps-2.0.17 lib/finapps/utils/loggeable.rb
finapps-2.0.16 lib/finapps/utils/loggeable.rb
finapps-2.0.15 lib/finapps/utils/loggeable.rb
finapps-2.0.14 lib/finapps/utils/loggeable.rb