class PhusionPassenger::PlatformInfo::ApacheDetector::Result

def initialize(detector)

def initialize(detector)
  @detector = detector
end

def log(message)

def log(message)
  @detector.send(:log, message)
end

def report

def report
  log " <b>* Found Apache #{version}!</b>"
  log "   Information:"
  log "      apxs2          : #{apxs2}"
  log "      Main executable: #{httpd}"
  log "      Control command: #{ctl}"
  log "      Config file    : #{config_file}"
  log "      Error log file : #{error_log || 'unknown'}"
  log ""
  log "   To install #{PROGRAM_NAME} against this specific Apache version:"
  log "      #{PlatformInfo.ruby_command} #{PhusionPassenger.bin_dir}/passenger-install-apache2-module --apxs2-path='#{apxs2}'"
  log ""
  log "   To start, stop or restart this specific Apache version:"
  log "      #{ctl} start"
  log "      #{ctl} stop"
  log "      #{ctl} restart"
  log ""
  if error_log
    log "   To troubleshoot, please read the logs in this file:"
    log "      #{error_log}"
    log ""
  end
end