Sha256: aa04a60c5d1065d8823c3f44f513b4fc9402628bf827cfb47e9af2a09f21e6c9

Contents?: true

Size: 494 Bytes

Versions: 41

Compression:

Stored size: 494 Bytes

Contents

module RequestLogAnalyzer::Aggregator

  # Echo Aggregator. Writes everything passed to it 
  class Echo < Base
    
    def prepare
      @warnings = ""
    end
    
    def aggregate(request)
      puts "\nRequest: " + request.inspect
    end
    
    def warning(type, message, lineno)
      @warnings << "WARNING #{type.inspect} on line #{lineno}: #{message}\n"
    end
    
    def report(output)
      output.title("Warnings during parsing")
      output.puts @warnings
    end

  end
end

Version data entries

41 entries across 41 versions & 2 rubygems

Version Path
wvanbergen-request-log-analyzer-1.1.3 lib/request_log_analyzer/aggregator/echo.rb
wvanbergen-request-log-analyzer-1.1.4 lib/request_log_analyzer/aggregator/echo.rb
wvanbergen-request-log-analyzer-1.1.5.1 lib/request_log_analyzer/aggregator/echo.rb
wvanbergen-request-log-analyzer-1.1.6 lib/request_log_analyzer/aggregator/echo.rb
wvanbergen-request-log-analyzer-1.1.7 lib/request_log_analyzer/aggregator/echo.rb
wvanbergen-request-log-analyzer-1.2.0 lib/request_log_analyzer/aggregator/echo.rb
wvanbergen-request-log-analyzer-1.2.1 lib/request_log_analyzer/aggregator/echo.rb
wvanbergen-request-log-analyzer-1.2.3 lib/request_log_analyzer/aggregator/echo.rb
wvanbergen-request-log-analyzer-1.2.4 lib/request_log_analyzer/aggregator/echo.rb
wvanbergen-request-log-analyzer-1.2.5 lib/request_log_analyzer/aggregator/echo.rb
wvanbergen-request-log-analyzer-1.2.6 lib/request_log_analyzer/aggregator/echo.rb
wvanbergen-request-log-analyzer-1.2.7 lib/request_log_analyzer/aggregator/echo.rb
wvanbergen-request-log-analyzer-1.2.8 lib/request_log_analyzer/aggregator/echo.rb
wvanbergen-request-log-analyzer-1.2.9 lib/request_log_analyzer/aggregator/echo.rb
wvanbergen-request-log-analyzer-1.3.0 lib/request_log_analyzer/aggregator/echo.rb
wvanbergen-request-log-analyzer-1.3.1 lib/request_log_analyzer/aggregator/echo.rb
wvanbergen-request-log-analyzer-1.3.2 lib/request_log_analyzer/aggregator/echo.rb
wvanbergen-request-log-analyzer-1.3.3 lib/request_log_analyzer/aggregator/echo.rb
wvanbergen-request-log-analyzer-1.3.4 lib/request_log_analyzer/aggregator/echo.rb
wvanbergen-request-log-analyzer-1.3.5 lib/request_log_analyzer/aggregator/echo.rb