Sha256: 693a0cf8fbfd91d3c7b2a27552db7151eef9a7634c63f2a89190032517fb46c4

Contents?: true

Size: 377 Bytes

Versions: 3

Compression:

Stored size: 377 Bytes

Contents

# Prints the total timespan found in the parsed log files.
puts
puts green("========================================================================")

if $summarizer.has_timestamps?
  puts "Timestamp first request: #{$summarizer.first_request_at}"
  puts "Timestamp last request:  #{$summarizer.last_request_at}" 
  puts "Total time analyzed: #{$summarizer.duration} days"
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
wvanbergen-request-log-analyzer-0.1.0 output/timespan.rb
wvanbergen-request-log-analyzer-0.1.1 output/timespan.rb
wvanbergen-request-log-analyzer-0.1.2 output/timespan.rb