Sha256: bd3d5b94cf28ef62a5908389673862df9dcb8f049da8dc62e936fa499ea19c9c

Contents?: true

Size: 220 Bytes

Versions: 8

Compression:

Stored size: 220 Bytes

Contents

# frozen_string_literal: true

module Memolog::Extension
  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

8 entries across 8 versions & 1 rubygems

Version Path
memolog-0.3.3 lib/memolog/extension.rb
memolog-0.3.2 lib/memolog/extension.rb
memolog-0.3.1 lib/memolog/extension.rb
memolog-0.3.0 lib/memolog/extension.rb
memolog-0.2.2 lib/memolog/extension.rb
memolog-0.2.1 lib/memolog/extension.rb
memolog-0.2.0 lib/memolog/extension.rb
memolog-0.1.0 lib/memolog/extension.rb