require 'logger'

module LoggerSpecs

  def self.strip_date(str)
    str[37..-1].lstrip
  end
  class TestApp < Logger::Application
    def initialize(appname, log_file=nil)
      super(appname)
      self.set_log(log_file) if log_file
    end

    def run
      log(WARN, "Test log message")
    end
  end
end

require 'logger'

module LoggerSpecs

  def self.strip_date(str)
    str[38..-1].lstrip
  end
  class TestApp < Logger::Application
    def initialize(appname, log_file=nil)
      super(appname)
      self.set_log(log_file) if log_file
    end

    def run
      log(WARN, "Test log message")
    end
  end
end

Revert "Fixing Logger helpers for OS 10.4"
Revert "Fixing Logger helpers for OS 10.4"

* This blows up the tests in Linux/OS X Leopard, reverting.

This reverts commit 9f9fa0989446fabef4a361930cfb9ccc944ae880.
