lib/memolog.rb in memolog-0.5.4 vs lib/memolog.rb in memolog-0.5.5
- old
+ new
@@ -38,10 +38,10 @@
yield
ensure
logdevs.pop unless config.debug
end
- def log(*args, &block)
+ def add(*args, &block)
logger.log(*args, &block)
end
def dump(parse_json: false)
return if logdevs.empty?