Sha256: 995e67aa78583352e12f0ac62237929b52f133e1e15cf4dcadc07e3878ffa3fd

Contents?: true

Size: 226 Bytes

Versions: 13

Compression:

Stored size: 226 Bytes

Contents

# frozen_string_literal: true

module Memolog::LoggerExtension
  def add(*args, &block)
    Memolog.logger.log(*args, &block)
    super
  end

  def log(*args, &block)
    Memolog.logger.log(*args, &block)
    super
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
memolog-0.5.1 lib/memolog/logger_extension.rb
memolog-0.5.0 lib/memolog/logger_extension.rb
memolog-0.4.9 lib/memolog/logger_extension.rb
memolog-0.4.8 lib/memolog/logger_extension.rb
memolog-0.4.7 lib/memolog/logger_extension.rb
memolog-0.4.6 lib/memolog/logger_extension.rb
memolog-0.4.5 lib/memolog/logger_extension.rb
memolog-0.4.4 lib/memolog/logger_extension.rb
memolog-0.4.2 lib/memolog/logger_extension.rb
memolog-0.4.1 lib/memolog/logger_extension.rb
memolog-0.4.0 lib/memolog/logger_extension.rb
memolog-0.3.5 lib/memolog/logger_extension.rb
memolog-0.3.4 lib/memolog/logger_extension.rb