Sha256: ce338c358b467767d13b4b64594faeb36b8da9ee30c02b3388c5936b6d900f81

Contents?: true

Size: 262 Bytes

Versions: 3

Compression:

Stored size: 262 Bytes

Contents

# TestDiff module
module TestDiff
  # adds logging to a class
  module Logging
    def log_info(*args)
      Config.logger.info(*args)
    end

    def log_debug(*args)
      Config.logger.info(*args)
    end

    module_function :log_debug, :log_info
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
test_diff-0.4.2 lib/test_diff/logging.rb
test_diff-0.4.1 lib/test_diff/logging.rb
test_diff-0.4.0 lib/test_diff/logging.rb