lib/memolog/logger_extension.rb in memolog-0.5.4 vs lib/memolog/logger_extension.rb in memolog-0.5.5
- old
+ new
@@ -1,13 +1,8 @@
# frozen_string_literal: true
module Memolog::LoggerExtension
def add(*args, &block)
- Memolog.log(*args, &block)
- super
- end
-
- def log(*args, &block)
- Memolog.log(*args, &block)
+ Memolog.add(*args, &block)
super
end
end