Sha256: 62f4e5d69013f1b48d39e3e588b08d6259a06607bea11812724c5c311855d799

Contents?: true

Size: 217 Bytes

Versions: 8

Compression:

Stored size: 217 Bytes

Contents

# frozen_string_literal: true

module Heavylog
  module RequestLogger
    def add(severity, message = nil, progname = nil, &block)
      super
      Heavylog.log(severity, message, progname, &block)
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
heavylog-0.0.9 lib/heavylog/request_logger.rb
heavylog-0.0.8 lib/heavylog/request_logger.rb
heavylog-0.0.7 lib/heavylog/request_logger.rb
heavylog-0.0.6 lib/heavylog/request_logger.rb
heavylog-0.0.5 lib/heavylog/request_logger.rb
heavylog-0.0.4 lib/heavylog/request_logger.rb
heavylog-0.0.3 lib/heavylog/request_logger.rb
heavylog-0.0.2 lib/heavylog/request_logger.rb