Sha256: ecbaac0960798a887b670a6bd1ab22ad4344a236346da440970314afe43849bf

Contents?: true

Size: 259 Bytes

Versions: 1

Compression:

Stored size: 259 Bytes

Contents

#!/usr/bin/env ruby

require 'log_stats'
require "log_stats/config"

log_file_data = ARGF.readlines
config = LogStats::Config.default_config.merge(LogStats::Config.env_config)
stats = LogStats.get_stats(log_file_data, config)
puts JSON.pretty_generate(stats)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
log_stats-0.4.9 bin/log_stats