Sha256: 1c5e03c87419a27f63199739227e3d171ea12086625e6745bfd508f7c869f302
Contents?: true
Size: 478 Bytes
Versions: 5
Compression:
Stored size: 478 Bytes
Contents
require 'app_monit' module AppMonit module Rails Event = Struct.new(:minute, :endpoint, :durations) Error = Struct.new(:minute, :endpoint, :duration) require 'app_monit/rails/config' require 'app_monit/rails/subscriber' require 'app_monit/rails/railtie' require 'app_monit/rails/worker' class << self def logger @logger ||= ::Rails.env.test? ? Logger.new($STDOUT) : Logger.new('log/app_monit_rails.log') end end end end
Version data entries
5 entries across 5 versions & 1 rubygems