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