Sha256: 19d79ac903c2fbb841f2dbb7c48081cdbdb3c74981715b5512c80e7b01e87fff

Contents?: true

Size: 291 Bytes

Versions: 5

Compression:

Stored size: 291 Bytes

Contents

# frozen_string_literal: true

namespace :rails_log_parser do
  desc 'notify about found problems in production.log'
  task :parse, [:from_minutes] do |_t, args|
    print RailsLogParser::Parser.from_file(RailsLogParser::Parser.log_path).summary(last_minutes: args[:from_minutes])
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rails_log_parser-0.0.5 lib/rails_log_parser/tasks.rb
rails_log_parser-0.0.4 lib/rails_log_parser/tasks.rb
rails_log_parser-0.0.3 lib/rails_log_parser/tasks.rb
rails_log_parser-0.0.2 lib/rails_log_parser/tasks.rb
rails_log_parser-0.0.1 lib/rails_log_parser/tasks.rb