module Loady
  class MemoryLogger
    attr_reader :messages

    def initialize
      @messages = []
    end

    def info(message)
      @messages << message
    end

    alias warn info
    alias error info
  end
end

module Loady
  class MemoryLogger
    attr_reader :messages

    def initialize(options = {})
      @messages = []
    end

    def info(message)
      @messages << message
    end

    alias warn info
    alias error info
  end
end

Revert "Remove unused argument from MemoryLogger constructor"
Revert "Remove unused argument from MemoryLogger constructor"

This reverts commit 8f810904343fb3530dfa2820f572890f64ab0d6e.
